Join Simon Allardice for an in-depth discussion in this video Using Key-value coding, part of Cocoa Essential Training.
I'm going to jump now into a concept in Cocoa known as Key Value Coding, and…its flipside, Key-Value Observing.…And the reason why is the next feature I want to explore, Bindings, relies…heavily on these, and bindings is worth the trip.…Now Key-Value Coding can sound complex at first but really isn't.…Although I will admit that I don't think Apple do the best job of making…it accessible. Their introduction is rather wordy and short on the immediate benefits.…So let me jump into this.…I have got a simple project that I have created here, and I'll go through what I have done.…
I have got a very straightforward new Objective-C class called Book, two strings…and an integer, author, title and pageCount, about as basic as it possibly gets.…And I am using Objective-C properties here, because I'm using Xcode 4.4, the…getters and setters for these properties will synthesize automatically.…I don't even have anything in the implementation file.…So I am going to instantiate a couple of objects of this class and then on…
- 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?
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.