iOS is the operating system of the iPhone, and the same platform family runs on tablets and other devices. Apps are written mainly in Swift, run in a strict sandbox, and are distributed through a curated store. Its tightly integrated hardware and software gives a consistent experience, and a platform with firm rules about what an app may do.
Key concepts
- App lifecycle: an app moves between active, inactive, background and suspended states, and the system may end it.
- Declarative interface: describe the screen as a function of state and let the framework update it.
- Sandbox and entitlements: apps are isolated, and each capability, such as location or the camera, needs a declared reason and consent.
- Memory management: automatic reference counting frees objects, so reference cycles are your job to break.
- Signing and distribution: every app is signed, and development, testing and release use different profiles.
Vocabulary
- Xcode: the standard development environment of the platform.
- Simulator: a program that runs the platform on a computer for testing.
- Delegate: an object that receives callbacks on behalf of another.
- Bundle: the folder that contains an app, its resources and its metadata.
What to study, in order
- Learn Swift: optionals, value types and reference types, closures, protocols.
- Build a one-screen app and run it in the simulator and, when you can, on a device.
- Add navigation, a list fed by a network request, and local storage.
- Study the lifecycle and concurrency: what runs on the main thread and what must not.
- Read the platform's human interface guidelines and compare an app that follows them with one that does not.