Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 611 Bytes

File metadata and controls

9 lines (5 loc) · 611 Bytes

Key-Value Observing (KVO) and Swift 3

Author: Bart Jacobs

Key-Value Observing, KVO for short, is an important concept of the Cocoa API. It allows objects to be notified when the state of another object changes. That sounds very useful. Right?

Despite the promise Key-Value Observing holds, it is an API very few developers enjoy using. Key-Value Observing itself is great, its API not so much. There is an upside, though. The API is very concise. Therefore, it is easy to get up to speed with KVO.

Read this article on Cocoacasts.