AceMobileInterview

iOS track

General topic questions

Keychain Usage

MediumOccasional

Free section · general topics & algorithms

What belongs in Keychain vs UserDefaults?

Reveal model answer
Secrets/tokens/credentials → Keychain. Preferences/flags → UserDefaults. Never store auth tokens in UserDefaults. Use accessibility levels and biometric access control appropriately.
UICollectionView Compositional LayoutSwiftData Basics