Join Simon Allardice for an in-depth discussion in this video Using Model-View-Controller, part of Cocoa Essential Training.
Before we start adding more interaction to an application, we should talk a…little bit about MVC, or Model-view-Controller, which is a very important concept for Cocoa.…Now if you're coming from iOS, you'll know that MVC is extremely formalized and…enforced over there.…Now it's a little less enforced in regular Cocoa, but still essential.…Now as you probably know, MVC is not just for Apple development, it's been around…for a long time, since the late 70s in fact.…MVC is a software design pattern, meaning it's an idea.…
You can do Model-view-Controller in Java, you can do it in C#, you can do it for…the web or for mobile, or you can do it for Desktop Applications on a Mac.…And at the core of MVC, it means the objects that represent your data and the…objects that represent your user interface are kept apart.…And you should be able to change one without affecting the other.…And the model part of Model-view-Controller is your data.…The information your app needs and stores and manipulates, objects that…represent contacts in the contacts application or emails in a mail application,…
- Installing the tools
- Creating your first app
- Adding basic interactions
- Understanding the Cocoa application life cycle
- Creating custom controller classes
- Creating alerts
- Understanding delegation
- Working with buttons, text fields, sliders, and more
- Using layout and data views
- Adding and editing toolbars
- Using key-value coding
- Binding objects
- Debugging code
- Distributing an application
- Creating icons and full-screen apps
Skill Level Beginner
1. Getting Started
2. Core Cocoa Skills
4. Creating User Interfaces
5. Arranging User Interfaces
6. Using Data Controls
7. Debugging and Troubleshooting
8. Distributing an Application
9. Finishing Touches
Creating full-screen apps6m 43s
Final thoughts4m 10s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.