iOS Development Cheat Sheet 2026
The 30 highest-yield iOS Development facts, distilled from real exam questions. Print it, save it as a PDF, or study it here — free, no sign-up.
- Which SwiftUI container arranges views horizontally side by side? → HStack
- Which iOS API is used to store small files in the app's sandboxed file system? → FileManager
- What does `@IBOutlet` do in a UIKit view controller? → Creates a connection between a UI element in Interface Builder and a code property
- What type of devices can run apps created with Swift? → IOS devices dating back to iOS 7 or later
- What tool lets you test an iOS app on a virtual device without a physical iPhone? → Simulator
- What does a SwiftUI Button require to respond to taps? → An action closure
- What does ARC stand for in iOS memory management? → Automatic Reference Counting
- What is a Core Data migration used for? → Updating the persistent store schema when the data model changes
- What does a segue represent in a UIKit storyboard? → A transition between view controllers
- Which symbol is used to mark a type as Optional in Swift? → ?
- What does `@Binding` do in SwiftUI? → Creates a two-way connection to a state value owned by another view
- Which UIKit class manages navigation between a stack of view controllers? → UINavigationController
- What does `GeometryReader` do in SwiftUI? → Provides the size and coordinate space of the parent container to its child views
- Which tool manages third-party Swift dependencies and is built into Xcode? → Swift Package Manager
- Which Swift attribute marks a function that must be called with `try`? → throws
- Which Xcode Instruments template is best suited for finding memory leaks in an iOS app? → Leaks
- What is the purpose of `Identifiable` in SwiftUI `ForEach`? → Provides a stable identity so SwiftUI can track each item for efficient updates
- What is the purpose of a UITableViewCell reuse identifier? → To efficiently recycle cells as they scroll off screen
- Which UIKit class provides a reusable grid-based layout for views? → UICollectionView
- In a UITableView, which method must you implement to provide the number of rows in a section? → numberOfRowsInSection
- What is the main thread rule in UIKit? → All UI updates must be performed on the main thread
- What is Core Data's primary role in an iOS app? → Object graph management and persistence to SQLite or other stores
- Which actor type in Swift concurrency guarantees its code runs on the main thread? → MainActor
- What is the purpose of UIGestureRecognizer? → Detect and respond to specific touch patterns like taps or swipes
- Which Swift feature enables writing asynchronous code that reads like synchronous code? → async/await
- What does enabling WAL mode in SQLite improve? → Concurrent read performance and write throughput
- What is the role of `NSPredicate` in Core Data queries? → Filters fetch results based on specified conditions
- Which SwiftUI modifier is used to respond when a view appears? → .onAppear
- Which SwiftUI container arranges child views vertically? → VStack
- Which Swift collection stores key-value pairs? → Dictionary
Turn these facts into recall: