Join Simon Allardice for an in-depth discussion in this video Diagnosing connection issues, part of Cocoa Essential Training.
Once you get past things like simple typos, missing semicolons, and…case-sensitivity problems in Objective-C. The single-most common stumbling block…for new developers in Cocoa is making a mistake with the connections, dragging…from the wrong object in your user interface to the wrong part of your code.…And the symptom of these problems is annoying because it's often nothing.…Incorrect connections rarely cause a bug or a message, instead nothing happens…when you expect something should happen.…
You click a button, and you expect it to call a method to change a label, and it doesn't.…Well, here perhaps the button isn't hooked up to the method.…Perhaps the Text field isn't hooked up to the code, perhaps the method isn't…doing what it should, or perhaps they are both fine, but the label isn't hooked up.…So if we have no actual error from Xcode…we first go looking at our connections. And typically you drive this from the XIB file.…So I'm going to quit out of this application and jump into this MainMenu.xib.…
- 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.