Join Bill Weinman for an in-depth discussion in this video Using pull-to-refresh, part of iOS 6: iOS System Resources.
IOS 6 provides a new pull to…refresh control for refreshing content in your app.…This is a brief demonstration of how to use that facility.…Here in X code I've loaded a working copy of the BWRSS…app from my IOS SDK and SQL light course here on lynda.com.…You'll find this project int the Chapter eight folder…of the exercise files for this course as well.…I've opened the item table view controller.…This is the table view…with the items from an RSS feed.…We come down here in this code to the support for reload gestures.…
You notice I support two different ways of reloading.…For IOS 6 users I support the pull to…refresh, which is here in this refresh invoked code.…And down here with motion ended I support a shake to reload for IOS 5 users.…In order to support this pull-to-refresh,…there's a few things that have to happen.…First, this view controller needs to become the first responder.…And so here in viewDidAppear, I have become first responder.…And in viewWillDisappear, I have resigned first responder.…And there's this other method called canBecomeFirstResponder, and I only return…
- Preparing your app for internationalization
- Localizing strings and images
- Taking photos or video with the camera
- Reading records from the Address Book
- Registering a custom URL scheme
- Getting a device's location
- Reading raw motion data
- Posting to a specific social media outlet
- Sending messages with the Message UI framework
Skill Level Intermediate
Q: Why is my Localizable.strings file not working?
<div>A: The method described in the lesson "Localizing strings" requires that your strings file be named like this:</div> <div> </div> <div>Localizable.strings</div> <div> </div> <div>This is a special filename in iOS and it must be spelled exactly as shown, including the capitalization.</div>