Suggested approach: Most people use this for receiving system messages, for example to be notified when they keyboard appears or disappears, but you can also use it to send your own messages inside your app. Once you’ve outlined the basics, try comparing it against delegates.
Estimated difficulty: Easy
UserDefaultsgood for? What is
UserDefaultsnot good for?
Link copied to your pasteboard.