A minimal macOS app written in Objective-C, with the UI built entirely programmatically — no .nib files or Interface Builder required.
hello-objc is inspired by Jeff Johnson's Working Without a NIB project, which builds the entire UI programmatically using the Cocoa application framework. Owing to its reliance on Cocoa and the AppKit framework, hello-objc can run on every version of Mac OS X / OS X / macOS — from Mac OS X 10.0 Cheetah (2001), to macOS 26 Tahoe (present)!
To build, run the build.command script from the Terminal:
chmod +x build.command # make sure the script is executable
./build.commandThis will compile hello.m and assemble a .app bundle, ready for execution.
NOTE: The build process will require Xcode command-line tools to be installed on your computer. You can install the tools by running xcode-select --install from the Terminal.