AceMobileInterview

iOS track

General topic questions

PreferenceKey

HardOccasional

Free section · general topics & algorithms

What are PreferenceKeys used for?

Reveal model answer
Child-to-parent communication of layout/geometry data (e.g. measuring views). Useful for sticky headers/custom coordination; overuse can cause extra layout passes.
RunLoop vs DispatchQueueCertificate Pinning