Whats new in iOS5
Upcoming SlideShare
Loading in...5
×
 

Whats new in iOS5

on

  • 1,828 views

iOS 5 is the latest in a great line of software updates for the Apple mobile devices. Beside the highly expected interface updates (new Notification Center, controls, etc.), lots of low level changes ...

iOS 5 is the latest in a great line of software updates for the Apple mobile devices. Beside the highly expected interface updates (new Notification Center, controls, etc.), lots of low level changes are taking place.

Paul was talking about the new Automatic Reference Counting (ARC) for memory management, iCloud storage, Twitter integration, storyboards, Newsstand apps, location simulation, airplay mirroring (iPad 2 only) as well as the new default apps and changes to existing ones.

Statistics

Views

Total Views
1,828
Views on SlideShare
1,823
Embed Views
5

Actions

Likes
2
Downloads
76
Comments
1

2 Embeds 5

http://us-w1.rockmelt.com 4
http://twitter.com 1

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • iOS6 is there on way
    www.slideshare.net/SojoSolutions/features-ofios6
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Whats new in iOS5 Whats new in iOS5 Presentation Transcript

  • What’s new in iOS5Paul ArdeleanuGeek in Chief at Hello24hello24.com
  • hello24.com SkillsMatter - Nov 2011
  • What’s new in iOS5 iCloud ARC Storyboarding Newsstand Twitter integration UIKit additions/changes Xcode 4 Sirihello24.com SkillsMatter - Nov 2011
  • iCloudhello24.com SkillsMatter - Nov 2011
  • iCloud storage in the cloud documents value-key datahello24.com SkillsMatter - Nov 2011
  • iCloud Opt-in backup Space is limited what’s backed up: Documents Library (partially) It just works happens either iCloud or iTunes backuphello24.com SkillsMatter - Nov 2011
  • iCloud Opt-in backuphello24.com SkillsMatter - Nov 2011
  • iCloud Storing Key-Value Data NSUbiquitousKeyValueStore similar with NSUserDefaults but not a replacementshello24.com SkillsMatter - Nov 2011
  • iCloud Storing Key-Value Datahello24.com SkillsMatter - Nov 2011
  • iCloud Storing Key-Value Datahello24.com SkillsMatter - Nov 2011
  • iCloud Storing Key-Value Data NSUbiquitousKeyValueStore *store = [NSUbiquitousKeyValueStore defaultStore]; [store setString:@"Skills Matter" forKey:@"venue"]; [store synchronize];hello24.com SkillsMatter - Nov 2011
  • iCloud Storing Key-Value Data NSUbiquitousKeyValueStore *store = [NSUbiquitousKeyValueStore defaultStore]; [store setString:@"Skills Matter" forKey:@"venue"]; [store synchronize]; NSUbiquitousKeyValueStore *store = [NSUbiquitousKeyValueStore defaultStore]; NSLog(@"venue: %@", [store stringForKey:@"venue"]);hello24.com SkillsMatter - Nov 2011
  • iCloud Storing Key-Value Data bool, double, long long NSString, NSData collections: NSArray, NSDictionary NSNumber, NSDatehello24.com SkillsMatter - Nov 2011
  • iCloud Storing Key-Value Data bool, double, long long NSString, NSData collections: NSArray, NSDictionary NSNumber, NSDate key: 64B value: 4KBhello24.com SkillsMatter - Nov 2011
  • iCloud Storing Key-Value Data don’t save lots of data NSUserDefaults in the cloud - (NSDictionary *)dictionaryRepresentation - (void)removeObjectForKey:(NSString *)aKeyhello24.com SkillsMatter - Nov 2011
  • iCloud Storing Key-Value Data NSUbiquitousKeyValueStoreDidChangeExternallyNotification register for notification syncronizehello24.com SkillsMatter - Nov 2011
  • iCloud Storing documents each application has its own sandbox folders can be created inside the dedicated area create a Documents folder use to manage only critical datahello24.com SkillsMatter - Nov 2011
  • iCloud Storing documentshello24.com SkillsMatter - Nov 2011
  • iCloud Storing documentshello24.com SkillsMatter - Nov 2011
  • iCloud Storing documents Check if iCloud storage is available: - (NSURL *)URLForUbiquityContainerIdentifier:(NSString *)containerID NSFilePresenter protocol NSFileCoordinator class create NSURL for the file - (BOOL)setUbiquitous:(BOOL)flag itemAtURL:(NSURL *)url destinationURL:(NSURL *)destinationURL error:(NSError **)errorOut - (BOOL)startDownloadingUbiquitousItemAtURL:(NSURL *)url error:(NSError **)errorOuthello24.com SkillsMatter - Nov 2011
  • iCloud Resources iCloud for Developers developer.apple.com/icloud/ WWDC11 sessions: 501: iCloud Storage Overview 116: Storing Documents with iCloud using iOS5hello24.com SkillsMatter - Nov 2011
  • ARC (Automatic Reference Counting)hello24.com SkillsMatter - Nov 2011
  • Memory management techniques Manual retain-release Automatic Refence Counting Garbage collectionhello24.com SkillsMatter - Nov 2011
  • Manual reference counting Vehicle *myCar = [[Vehicle alloc] init]; [myCar retain]; [myCar release]; [myCar release]; +1 -1 + alloc - release + new - autorelease - copy - retainhello24.com SkillsMatter - Nov 2011
  • ARC works at compiler level evaluates objects’ lifetime automatically does memory management for you same rules iOS5 & OS X Lion (XCode 4.2)hello24.com SkillsMatter - Nov 2011
  • ARChello24.com SkillsMatter - Nov 2011
  • ARC Limitations cannot explicitly invoke retain, release / autorelease dealloc can’t store objects in C structure can’t cast between object and non-object typeshello24.com SkillsMatter - Nov 2011
  • ARC Things to consider ARC can be intermixed with non-ARC still need to understand memory management will cause rejectionshello24.com SkillsMatter - Nov 2011
  • ARC !!! while([aVar retainCount]) { [aVar release]; }hello24.com SkillsMatter - Nov 2011
  • ARC Variable qualifiers __strong (default) __weak __unsafe_unretained __autoreleasinghello24.com SkillsMatter - Nov 2011
  • ARC Variable qualifiers NSString __strong *hello = [[NSString alloc] initWithFormat: @"hello %@", person.name]; NSLog(@"hello: %@", hello); NSString __weak *hello = [[NSString alloc] initWithFormat: @"hello %@", person.name]; NSLog(@"hello: %@", hello);hello24.com SkillsMatter - Nov 2011
  • ARC - (NSString *)aMethod { NSString *rtn = [[NSString alloc] initWithFormat: @"hello %@", self.name]; return rtn; }hello24.com SkillsMatter - Nov 2011
  • ARCObject lifetime qualifiers retai n @property(strong) MyClass *myObject; @property(weak) MyOtherClass *delegate; assig nhello24.com SkillsMatter - Nov 2011
  • ARC @autorelease instead of NSAutoreleasePool int main(int argc, char *argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([HGAppDelegate class])); } } int main(int argc, char *argv[]) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; int retVal = UIApplicationMain(argc, argv, nil, nil); [pool release]; return retVal; }hello24.com SkillsMatter - Nov 2011
  • ARC LLVM & Clang Low Level Virtual Machine - compiler infrastructure written in C++ language agnostic Clang - compiler front-end for C, C++, Objective-C, Objective-C++hello24.com SkillsMatter - Nov 2011
  • ARC LLVM & Clang shorter compilation times than GCC creates code that runs faster incremental compilation tighter integration with the IDE GUIhello24.com SkillsMatter - Nov 2011
  • ARC How tohello24.com SkillsMatter - Nov 2011
  • ARC How to -fobjc-archello24.com SkillsMatter - Nov 2011
  • ARC How tohello24.com SkillsMatter - Nov 2011
  • ARC How tohello24.com SkillsMatter - Nov 2011
  • ARC Resources WWDC11 session: 323: Introducing Automatic Reference Countinghello24.com SkillsMatter - Nov 2011
  • Storyboardinghello24.com SkillsMatter - Nov 2011
  • Storyboardinghello24.com SkillsMatter - Nov 2011
  • Storyboarding Scene Sequehello24.com SkillsMatter - Nov 2011
  • Storyboardinghello24.com SkillsMatter - Nov 2011
  • Storyboardinghello24.com SkillsMatter - Nov 2011
  • Storyboardinghello24.com SkillsMatter - Nov 2011
  • hello24.com SkillsMatter - Nov 2011
  • hello24.com SkillsMatter - Nov 2011
  • hello24.com SkillsMatter - Nov 2011
  • Storyboarding http://www.raywenderlich.com/5138/ beginning-storyboards-in-ios-5-hello24.com SkillsMatter - Nov 2011 part-1
  • hello24.com SkillsMatter - Nov 2011
  • Storyboarding Resources WWDC11 sessions: 309: Introduction to Storyboarding 302: Using Interface Builder in Xcode 4hello24.com SkillsMatter - Nov 2011
  • Newsstandhello24.com SkillsMatter - Nov 2011
  • Newsstand magazines & newspapers period content update auto-renewal subscriptions & single issueshello24.com SkillsMatter - Nov 2011
  • Newsstand App settings UINewsstandApphello24.com SkillsMatter - Nov 2011
  • Newsstand Iconhello24.com SkillsMatter - Nov 2011
  • Newsstand Icon 90px UINewsstandIcon 90px Binding type: Binding edge: ‣ Magazine ‣ Left ‣ Newspapaper ‣ Right ‣ Bottomhello24.com SkillsMatter - Nov 2011
  • Newsstand Icon 90px UINewsstandIcon 90px Binding type: Binding edge: ‣ Magazine ‣ Left ‣ Newspapaper ‣ Right ‣ Bottomhello24.com SkillsMatter - Nov 2011
  • Things to Newsstand consider only one download in 24 hours period push notification content-available=1 size matters user is controlhello24.com SkillsMatter - Nov 2011
  • Newsstand How it workshello24.com SkillsMatter - Nov 2011
  • Newsstand How it works remote notification received (content-available=1)hello24.com SkillsMatter - Nov 2011
  • Newsstand How it works remote notification received (content-available=1) app is woken uphello24.com SkillsMatter - Nov 2011
  • Newsstand How it works remote notification received (content-available=1) app is woken up content download initiatedhello24.com SkillsMatter - Nov 2011
  • Newsstand How it works remote notification received (content-available=1) app is woken up content download initiated app goes to sleephello24.com SkillsMatter - Nov 2011
  • Newsstand How it works remote notification received (content-available=1) app is woken up content download initiated app goes to sleep download finishes - content is stored in a Newsstand managed directoryhello24.com SkillsMatter - Nov 2011
  • Newsstand How it works remote notification received (content-available=1) app is woken up content download initiated app goes to sleep download finishes - content is stored in a Newsstand managed directory app is woken up & notified the download is donehello24.com SkillsMatter - Nov 2011
  • Newsstand How it works remote notification received (content-available=1) app is woken up content download initiated app goes to sleep download finishes - content is stored in a Newsstand managed directory app is woken up & notified the download is done app goes back to sleephello24.com SkillsMatter - Nov 2011
  • Newsstand Classeshello24.com SkillsMatter - Nov 2011
  • Newsstand Classes NKLibrary NKIssue NKAssetDownloadhello24.com SkillsMatter - Nov 2011
  • Newsstand Classes NKLibrary NKIssue NKAssetDownload NSURLConnection (NKAssetDownloadAdditions)hello24.com SkillsMatter - Nov 2011
  • Newsstand NKLibrary + (NKLibrary *)sharedLibrary; NSArray *issues NKIssue *currentlyReadingIssue - (NKIssue *)addIssueWithName:(NSString *)name date:(NSDate *)date; - (void)removeIssue:(NKIssue *)issue;hello24.com SkillsMatter - Nov 2011
  • Newsstand NKIssue name date status NKIssueContentStatusNone, NKIssueContentStatusDownloading, NKIssueContentStatusAvailable contentURL downloadingAssetshello24.com SkillsMatter - Nov 2011
  • Newsstand NKAssetDownload issue identifier URLRequesthello24.com SkillsMatter - Nov 2011
  • Newsstand NKAssetDownload issue identifier URLRequest - (NSURLConnection *)downloadWithDelegate: (id <NSURLConnectionDownloadDelegate>)delegate;hello24.com SkillsMatter - Nov 2011
  • Newsstand Notifications- (void)connectionDidFinishDownloading:(NSURLConnection *)connection destinationURL:(NSURL *)destinationURLhello24.com SkillsMatter - Nov 2011
  • Newsstand Update the icon [UIApplication setNewsstandIconImage:(UIImage*)newImage]hello24.com SkillsMatter - Nov 2011
  • Newsstand Resources WWDC11 session: 504: Building Newsstand Appshello24.com SkillsMatter - Nov 2011
  • Twitter integrationhello24.com SkillsMatter - Nov 2011
  • Twitter Frameworkhello24.com SkillsMatter - Nov 2011
  • Twitter Classes TWRequest TWTweetComposeViewControllerhello24.com SkillsMatter - Nov 2011
  • Twitter Integration TWTweetComposeViewController *tweetSheet = [[TWTweetComposeViewController alloc] init]; [self presentModalViewController:tweetSheet animated:YES];hello24.com SkillsMatter - Nov 2011
  • Twitter Integrationhello24.com SkillsMatter - Nov 2011
  • Accounts Framework access to built-in accounts ACAccount ACAccountType identifier ACAccountTypeIdentifierTwitterhello24.com SkillsMatter - Nov 2011
  • Twitter Resources WWDC11 session: 124: Twitter integrationhello24.com SkillsMatter - Nov 2011
  • New UIKit Controlshello24.com SkillsMatter - Nov 2011
  • UIKit UIStepperhello24.com SkillsMatter - Nov 2011
  • UIKit UIAlertViewStylehello24.com SkillsMatter - Nov 2011
  • UIKit UIAlertViewStylehello24.com SkillsMatter - Nov 2011
  • UIKit UIAlertViewStyle typedef enum { UIAlertViewStyleDefault = 0, UIAlertViewStyleSecureTextInput, UIAlertViewStylePlainTextInput, UIAlertViewStyleLoginAndPasswordInput } UIAlertViewStyle;hello24.com SkillsMatter - Nov 2011
  • UIKit UIScreen Overscan compensation typedef enum { UIScreenOverscanCompensationScale, UIScreenOverscanCompensationInsetBounds, UIScreenOverscanCompensationInsetApplicationFrame, } UIScreenOverscanCompensation;hello24.com SkillsMatter - Nov 2011
  • UIKit UIScreen Screen brightness - software dimming UIScreen *screen = [UIScreen mainScreen]; screen.wantsSoftwareDimming = YES; screen.brightness = 0.2;hello24.com SkillsMatter - Nov 2011
  • UIKit Dictionary UIReferenceLibraryViewController + (BOOL)dictionaryHasDefinitionForTerm:(NSString *)term - (id)initWithTerm:(NSString *)termhello24.com SkillsMatter - Nov 2011
  • UIKit UIPageViewControllerhello24.com SkillsMatter - Nov 2011
  • UIKit UIPageViewControllerhello24.com SkillsMatter - Nov 2011
  • UIKit Appearance proxy UIAppearance protocol [[UINavigationBar appearance] setTintColor:myColor]; [[UIBarButtonItem appearanceWhenContainedIn:[UINavigationBar class], nil] setTintColor:myNavBarColor]; [[UIBarButtonItem appearanceWhenContainedIn:[UINavigationBar class], [UIPopoverController class], nil] setTintColor:myPopoverNavBarColor];hello24.com SkillsMatter - Nov 2011
  • UIKit Other additions... new Notification System Built-in Face Recognition NSLinguisticTagger CLGeocoder NSIncrementalStore NSFileVersion NSJSONSerializationhello24.com SkillsMatter - Nov 2011
  • UIKit Resources WWDC11 session: 100: What’s new in Cocoa Touchhello24.com SkillsMatter - Nov 2011
  • Xcode 4hello24.com SkillsMatter - Nov 2011
  • hello24.com SkillsMatter - Nov 2011
  • hello24.com SkillsMatter - Nov 2011
  • hello24.com SkillsMatter - Nov 2011
  • hello24.com SkillsMatter - Nov 2011
  • hello24.com SkillsMatter - Nov 2011
  • hello24.com SkillsMatter - Nov 2011
  • Xcode4 Resources WWDC11 sessions: 302: Using Interface Builder in Xcode 4 306: Maximizing Productivity in Xcode 4 311: Mastering Source Control in Xcode 4 313: Mastering Schemes in Xcode 4 317: Device Management and App Submission with Xcode 4 319: Effective Debugging with Xcode 4hello24.com SkillsMatter - Nov 2011
  • Sirihello24.com SkillsMatter - Nov 2011
  • hello24.com SkillsMatter - Nov 2011
  • Sirihello24.com SkillsMatter - Nov 2011
  • hello24.com SkillsMatter - Nov 2011
  • hello24.com SkillsMatter - Nov 2011
  • hello24.com SkillsMatter - Nov 2011
  • hello24.com SkillsMatter - Nov 2011
  • Thank you!hello24.com SkillsMatter - Nov 2011
  • Thank you! stay hungry, stay foolishhello24.com SkillsMatter - Nov 2011
  • Thank you! stay hungry, stay foolishhello24.com paul@hello24.com SkillsMatter - Nov 2011