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

TermWhat it means
XcodeApple's editor. It's where you write the code, press Run, and see the app. Free from the Mac App Store.
SimulatorA fake iPhone or iPad that runs on your Mac. You test in it before ever touching real hardware.
SwiftThe programming language iOS apps are written in. Everything this kit generates is Swift.
.xcodeproj · .xcworkspaceThe file you double-click to open the app in Xcode. A project is one app; a workspace groups several projects together.
pbxprojThe file inside a .xcodeproj that lists every source file. Notoriously painful to merge by hand, which is why this kit generates it instead.
TargetOne thing that gets built. An app is a target; so is its test suite. One project can hold several.
SchemeA saved "what to build and how" setting in Xcode — which target, debug or release. It's what the Run button obeys.
Bundle IDYour 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.plistA 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.
.xcconfigA plain text file of build settings, one KEY = value per line. This kit uses one to keep server addresses out of the code.
Asset CatalogThe folder Xcode keeps images and the app icon in. Named Assets.xcassets.
Entitlement · CapabilityPermission 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 targetThe oldest iOS version your app will run on. Setting it higher lets you use newer Apple features but excludes older phones.
Keychain · UserDefaultsTwo 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

TermWhat it means
SwiftUI · UIKitThe 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.
ViewOne screen, or a piece of one. Its only job is to display things.
Module · package · frameworkA 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.
ProtocolA 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 patternAn 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.
ViewModelThe 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 · ServiceWhere 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 injectionHanding a piece of code the things it needs from outside, rather than letting it fetch them itself. It's what makes testing possible.
Composition rootThe 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.
PersistenceSaving data on the phone so it survives closing the app. SwiftData and Core Data are Apple's two options.
LocalizationKeeping user-visible text in a separate file per language, rather than typed into the screen, so the app can be translated.
BundleThe 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 tokenA named colour or font — Theme.primary instead of "this exact shade of blue" typed in twenty places.