• 1. The most common use of KVO is to listen for changes in a member’s attributes

The use and principle of KVO

  • 2. NSNotification
    • It’s just register, notify, remove

See this article for the use of notifications. See this article for the principle of notifications

  • 3. Observer mode implements itself

This article has a demo to learn