SwiftUI : Leveraging Notifications for Seamless Communication Between Views
Notifications in iOS allow different parts of an app to talk to each other without being directly connected. Using something called NotificationCenter
, one part of the app can send out a message (notification) to other parts that are interested. These other parts can then react to the message without having to know exactly where it came from. This makes the app…