Join Simon Allardice for an in-depth discussion in this video Using the slider control, part of Cocoa Essential Training.
Going to make a new Cocoa application so we can explore the slider control.…Jump into my MainMenu.xib file, select the window and then in the Object Library…either come down to or filter on slider.…We have Horizontal, Vertical, and Circular, that's something called a slider Cell…but that's really just the interior part of an NSSlider.…I am going to drag on a horizontal one because these are the most commonly used in OS X.…But they all worked the same way, and if you get familiar with one, the…others hold no mystery.…
I have dragged it onto the center, and I am just going to grab the handles of the…edge and drag it wider just so we have something to play with here.…I am not going to do much else with this interface, so I will shrink it down a bit.…Jumping over into my Attributes Inspector here, I can see that we have this idea…of a Maximum and Minimum values. By default it's 0 through 100, and the Current…value is 50. You can either use the stepper control here, and as you do this you…should see the head of the slider is actually moving on our Design view.…
- 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.