Join Ron Buencamino for an in-depth discussion in this video What we'll build, part of Communicating between Classes with Objective-C.
- Before we get started, let's take a look at the app that we'll be building. The app is called account tracker and it is used to help maintain an account balance as well as present transaction history. Let's go ahead and submit a few transactions so you can see how this works. Though the app performs a seemingly simple task, under the hood, our three design patterns are working in coordination with one another to produce this result. We'll be using key value observation to update certain UI elements, such as our current balance label, as well as our number of transactions.
Notification center will be used to display a visual queue to the user as well as perform automation tasks in the background and delegation will be used to retrieve our transactions and present them in our table view here.