Question library

Find the right iOS interview question in seconds

Search by title or keywords, narrow by topic, difficulty, or tag, then open a question for a full write-up with code and a short exercise to practice your answer.

Tags

Select any combination. A question must include every tag you pick (AND).

Any tag
Difficulty: Advanced

Which design patterns have you used in iOS, and what tradeoffs did they have?

Group design patterns into creational, structural, and behavioral, then explain real iOS examples from SDKs and your own implementation experience with the tradeoffs that matter in production

How does struct memory layout work in Swift?

Explain `MemoryLayout`, padding, alignment, and stride; show why stored-property order changes a struct's footprint; and connect it to arrays, performance, and low-level interop

How do you debug a UICollectionView cell reuse bug that only appears during fast scrolling?

Turn a vague rendering issue into a disciplined diagnosis around state leakage, async work, and view configuration boundaries