Codepad
Version 0.8  •  iPad  •  iPhoneOS 3.2+
Development
Developer
onionjumoke: concept, design, Objective-C
AI assistance
Claude 4.6 Sonnet: Bug fixing and Lua integration
Build tools
Xcode 3.2.6  •  GCC 4.2  •  iOS 4.3 SDK
Features
Syntax highlightingHTML, CSS, JS, Lua, Python, PHP, XML, JSON, Ruby, TypeScript, Markdown
Lua 5.1 runtimeEmbedded bytecode interpreter, runs .lua files on-device, no JIT required
Auto-closeTags, brackets, quotes, closing pair inserted with cursor placed inside
Live previewHTML renders via file:// with relative CSS/JS resolved; other files show as source
Folder browserNested folder hierarchy, colour-coded extensions, swipe-to-delete
Image editorLayer-based canvas editor with Paint.NET-style UI, exports PNG or .cpi (CodePad Image)
ThemesDark, Light, Classic
Built with
Obj-C
Objective-C 2.0 manual retain/release, no ARC, no Storyboards
UIKit
UISplitViewController, UIWebView, UIToolbar, UITableViewController
Lua
Lua 5.1.5 compiled as a C static library
HTML/JS
editor.html and imageeditor.html, self-contained engines in vanilla JavaScript