Share
Embed
Transcript
11 slides
-
Social Framework • Supporting Social Network • Facebook • Twitter
• SinaWeibo Thursday, 16 August, 12 -
Social Framework • UIActivityViewController • Class Reference • SLComposeViewController •
View to the user to compose a post for supported social networking services • SLRequest • https://developers.facebook.com/ios/ • http://techcrunch.com/2012/07/11/facebook-releases- Thursday, 16 August, 12 -
Collection Views • The UICollectionView class offers a new way
to present ordered data to users. • UICollectionView • something like uitableview, with its owen datasource and delegate • UICollectionViewLayout • Generate layout information for a collection view • UICollectionViewCell Thursday, 16 August, 12 -
Auto Layout • Localization through swapping of strings alone, instead
of also revamping layouts. • Mirroring of user-interface elements for right- to-left languages like Hebrew and Arabic. • Better layering of responsibility between objects in the view and controller layers. Thursday, 16 August, 12 -
Auto Layout • Constraints Express Relationships Between Views • button1.right
== button2.left - 12.0 • button1.width >= 100.0 • Constraints Have a Priority Level • Constraints May Cross View Hierarchies Thursday, 16 August, 12 -
Pass Kit (Interact with pass book) • Companies can create
passes to represent items such as coupons, boarding passes, event tickets, and discount cards for businesses. • It might also contain a bar code or other information that you can then use to validate the card so that it can be redeemed or used. • There are three major parts of this technology: • A package format for creating passes. • A web service API for updating passes, implemented on your server. • An Objective-C API used by your apps to interact with the user’s pass library. Thursday, 16 August, 12 -
Additional Framework Enhancements • Map kit • Game Center -
GameKit.framework • Data Privacy - Contacts, Calendars, Reminders, Photo Library • In-App Content Purchases • Present a view controller that lets users purchase apps, music, books, and other iTunes content directly from within your app, no redirect • UI State Preservation • UITableViewController class allows you to add a built-in refresh control • Allow subclass UINavigationBar and incorporate your custom navigation bar into your app’s navigation interfaces. Thursday, 16 August, 12