Join Simon Allardice for an in-depth discussion in this video Using NSArrayController with table views, part of Cocoa Essential Training.
Now let's see how to connect more complex objects to more complex user interface elements.…I have a simple project that I have created to get us ready to get started here.…Just to explain what I have, it's that Book class again about as simple as it…gets, two NSStrings and an Integer.…This Book class has no implementation we're speaking of, although I have added…an init method just to begin with an author and title that have some basic…information in those strings, I'll show you why in just a moment.…There's not much else going on. In the AppDelegate, I have an NSMutableArray…called allBooks that can hold multiple book objects, and I have created one…listBooks IBAction method that's going to have just some simple code that will…NSLog the contents of the array out so that we can see any difference between…what we're seeing in the user interface and what's actually stored in the array.…
And the last little piece of code worth exploring is in the implementation of AppDelegate.…I have added an init method, and as soon as this class is being initialized, I'm…
- 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.