Join Todd Perkins for an in-depth discussion in this video Binding more complex controls, part of Cocoa with Swift Essential Training.
- View Offline
- Exercise Files
…So up to this point we've done binding on a pretty simple level.…We had one object and…we connected its properties to a couple user interface elements.…But what if you had a more complex data model.…And you needed something a little more powerful to connect that to your…user interface?…Well, Coco actually provides that for you.…If you go in the object library and search for…the word controller, find the green elements.…These objects are there to help you with your…bindings between more complex objects than what we've been looking at so far.…
So there's the Object Controller, then there's the Array Controller.…So if you're working with an array, you can just click and…drag the Array Controller over to your document outline.…And you can reference it there.…Now again, this is if your data model is in an array, and…you needed to connect it to a more complex visual object, like a table view.…You can also have a Dictionary Controller.…And you can have multiple of the same controller, and…you can have different controllers as you wish in the same zip file.…
- Creating your first Cocoa app
- Understanding the relationship between Cocoa and Swift
- Creating a playground
- Working with variables, functions, arrays, and loops
- Creating basic interactions and quick connections
- Building custom controller classes
- Using delegates
- Creating and arranging interface elements
- Using data controls
- Debugging and troubleshooting
- Distributing a Cocoa application
Skill Level Beginner
1. Getting Started
Installing the tools1m 14s
2. Introduction to Swift
3. Core Cocoa Skills
5. Creating User Interfaces
6. Arranging User Interfaces
7. Using Data Controls
8. Debugging and Troubleshooting
9. Distributing an Application
10. Finishing Touches
Creating full-screen apps4m 56s
Next steps1m 36s
- 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.