๐Ÿ“ฆ 25harsh / Amnesiac

Clean iOS boilerplate templates for developers who prefer code over Interface Builder. Includes Swift โ†” Objective-C bridging examples.

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching โš–๏ธ Apache License 2.0
bridging-headeriosobjective-cprogrammaticswiftxcode-template
๐Ÿ“ฅ Clone https://github.com/25harsh/Amnesiac.git
HTTPS git clone https://github.com/25harsh/Amnesiac.git
SSH git clone git@github.com:25harsh/Amnesiac.git
CLI gh repo clone 25harsh/Amnesiac
25harsh 25harsh chore: added License and updated Readme 9505fd6 2 months ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ ObjC
๐Ÿ“ ObjC2Swift
๐Ÿ“ Swift
๐Ÿ“ Swift2ObjC
๐Ÿ“„ .gitignore
๐Ÿ“„ LICENSE
๐Ÿ“„ README.md
๐Ÿ“„ README.md

Amnesiac

Minimal iOS boilerplate templates for developers who prefer programmatic UI over Interface Builder

Platform Language License

Overview

Amnesiac provides clean, production-ready iOS project templates that are configured 100% programmatically โ€” no Storyboards, no LaunchScreens, no XIBs. Perfect for developers who want full control over their UI code and prefer a code-first approach.

Why Amnesiac?

  • No Interface Builder - Everything is in code, making it easier to review, merge, and understand
  • Language Interoperability - Templates demonstrating Swift โ†” Objective-C bridging
  • Production-Ready - Minimal, clean setup that's ready to build upon
  • Educational - Learn how to set up iOS projects programmatically and bridge between languages

Available Templates

This repository contains four ready-to-use templates:

1. Swift (/Swift)

Pure Swift implementation with programmatic UI setup. Ideal for modern iOS development.

2. ObjC (/ObjC)

Pure Objective-C implementation. Perfect for maintaining legacy codebases or learning Objective-C.

3. ObjC2Swift (/ObjC2Swift)

Objective-C project calling Swift code. Demonstrates how to integrate Swift code into existing Objective-C projects.

4. Swift2ObjC (/Swift2ObjC)

Swift project calling Objective-C code. Shows how to use Objective-C libraries/code in Swift projects.

Features

  • โœ… No Storyboards or XIBs
  • โœ… No LaunchScreen storyboard
  • โœ… Programmatic window and view controller setup
  • โœ… Clean AppDelegate configuration
  • โœ… Bridging header examples (for interop templates)
  • โœ… Ready to build and run
  • โœ… Minimal boilerplate code

Getting Started

Requirements

  • Xcode 14.0+
  • iOS 13.0+
  • macOS 12.0+ (for development)

Installation

  • Clone the repository:
git clone https://github.com/25harsh/Amnesiac.git
cd Amnesiac

  • Choose your template and navigate to it:
cd Swift  # or ObjC, ObjC2Swift, Swift2ObjC

  • Open the Xcode project:
open Amnesiac.xcodeproj

  • Build and run (โŒ˜ + R)

License

This project is licensed under the Apache License 2.0