Mobile — iOS
Glossary
Every term used across these pages, defined in plain language — Apple's tools and files, then how the code itself is organised.
Apple's Tools and Files
Words tied to Xcode and the platform
| Term | What it means |
|---|---|
| Xcode | Apple's editor. It's where you write the code, press Run, and see the app. Free from the Mac App Store. |
| Simulator | A fake iPhone or iPad that runs on your Mac. You test in it before ever touching real hardware. |
| Swift | The programming language iOS apps are written in. Everything this kit generates is Swift. |
.xcodeproj · .xcworkspace | The file you double-click to open the app in Xcode. A project is one app; a workspace groups several projects together. |
pbxproj | The file inside a .xcodeproj that lists every source file. Notoriously painful to merge by hand, which is why this kit generates it instead. |
| Target | One thing that gets built. An app is a target; so is its test suite. One project can hold several. |
| Scheme | A saved "what to build and how" setting in Xcode — which target, debug or release. It's what the Run button obeys. |
| Bundle ID | Your app's unique name to Apple, written like a backwards web address: com.yourcompany.yourapp. Can't be changed casually once you've shipped. |
Info.plist | A settings file baked into the app. Holds things iOS itself needs to read — the app's name, its version, and why it wants your camera. |
.xcconfig | A plain text file of build settings, one KEY = value per line. This kit uses one to keep server addresses out of the code. |
| Asset Catalog | The folder Xcode keeps images and the app icon in. Named Assets.xcassets. |
| Entitlement · Capability | Permission granted by Apple rather than by the user — push notifications, iCloud, Sign in with Apple. Switched on in Xcode and in your Apple developer account. |
| Deployment target | The oldest iOS version your app will run on. Setting it higher lets you use newer Apple features but excludes older phones. |
Keychain · UserDefaults | Two places to store small amounts of data. Keychain is encrypted and is where passwords and tokens belong; UserDefaults is not, and is for preferences like "dark mode on". |
How the Code Is Organised
Words tied to this kit's architecture
| Term | What it means |
|---|---|
| SwiftUI · UIKit | The two ways to build screens. SwiftUI is the modern one — you describe what the screen should look like. UIKit is the older one — you build it piece by piece. Both are fully supported and both are still in wide use. |
| View | One screen, or a piece of one. Its only job is to display things. |
| Module · package · framework | A bundle of code kept separate from the rest, with its own boundary. Roughly what other ecosystems call a library. "Package" and "framework" are two ways iOS does this. |
| SPM (Swift Package Manager) | Apple's built-in tool for adding libraries and splitting your own code into packages. The equivalent of npm or pip. |
| Protocol | A list of what a type promises to do, without saying how. Called an interface in most other languages. It's what lets a test swap the real server for a fake one. |
| Architecture pattern | An agreed answer to "which file does what" — MVVM, VIP, MVC and so on. Its whole value is that everyone, including the assistant, picks the same answer. |
| ViewModel | The layer between the screen and the data. Holds what the screen currently shows, decides what to do when you tap. Knows nothing about how it looks. |
| Repository · Service | Where the data actually comes from. The service talks to the server; the repository decides whether to ask it or use what's already saved. |
| Dependency injection | Handing a piece of code the things it needs from outside, rather than letting it fetch them itself. It's what makes testing possible. |
| Composition root | The one place, at app launch, where all the real pieces get built and handed to each other. If wiring is wrong, it's wrong here. |
| Persistence | Saving data on the phone so it survives closing the app. SwiftData and Core Data are Apple's two options. |
| Localization | Keeping user-visible text in a separate file per language, rather than typed into the screen, so the app can be translated. |
| Bundle | The folder a built app or framework really is, containing its images and translations. Matters because looking in the wrong one gives you nothing — silently. |
| Theme token | A named colour or font — Theme.primary instead of "this exact shade of blue" typed in twenty places. |