Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

iOS 7

184 views

Published on

iOS 7, New APIs, UI and Functionality

Published in: Software
  • Be the first to comment

  • Be the first to like this

iOS 7

  1. 1. iOS 7 New APIs & UI & Functionality
  2. 2. IOS 7 Intro
  3. 3. Introduce many UI changes borderless buttons translucent bars full-screen layout for view controllers iOS 7 UI
  4. 4. IOS 7 UI
  5. 5. Deference. The UI helps users understand and interact with the content, but never competes with it. Clarity. Text is legible at every size, icons are precise and lucid, adornments are subtle and appropriate, and a sharpened focus on functionality motivates the design. iOS 7 Main Themes
  6. 6. Depth. Visual layers and realistic motion heighten users’ delight and understanding. iOS 7 Main Themes
  7. 7. "1500 new APIs", by Apple's count during the WWDC Keynote. 64-bit processors. An app that supports 64- bit processing almost always gains improved performance when compared with a 32-bit app running on the same device IOS 7 New APIs
  8. 8. For the longest time, this boringly essential function was completely MIA NSString *string = @"Lorem ipsum dolor sit amet."; NSString *base64EncodedString = [[string dataUsingEncoding:NSUTF8StringEncoding] base64EncodedStringWithOptions:0]; NSLog(@"%@", base64EncodedString); // @"TG9yZW0gaXBzdW0gZG9sYXIgc2l0IGFtZXQu" NSData (NSDataBase64Encoding)
  9. 9. NSURLComponents *components = [NSURLComponents componentsWithString:@"http://soin.com"]; components.path = @"/iOS7"; components.query = @"foo=bar"; NSLog(@"%@", components.scheme); // @"http" NSLog(@"%@", [components URL]); // @"http://soin.com/iOS7?foo=bar" NSURLComponents
  10. 10. NSProgress to handle progress NSArray -firstObject MKDistanceFormatter Distance from two points MKDistanceFormatter *formatter = [[MKDistanceFormatter alloc] init]; formatter.units = MKDistanceFormatterUnitsImperial; NSLog(@"%@", [formatter stringFromDistance:distance]); // 535 miles Others like
  11. 11. Apps can now specify dynamic behaviors for UIView objects and for other objects that conform to the UIDynamicItem protocol. Dynamic behaviors offer a way to improve the user experience of your app by incorporating real-world behavior and characteristics, such as gravity, into your app’s animations. Dynamic Behavior
  12. 12. A UIAttachmentBehavior object specifies a connection between two dynamic items or between an item and a point. A UICollisionBehavior object lets dynamic items participate in collisions with each other Dynamic Behaviors
  13. 13. A UIGravityBehavior object specifies a gravity vector for its dynamic items. A UIPushBehavior object specifies a continuous or instantaneous force vector for its dynamic items. A UISnapBehavior object specifies a snap point for a dynamic item. Dynamic Behavior
  14. 14. Demo Ballon Dynamic Behavior
  15. 15. Demo Bricks Dynamic Behavior
  16. 16. Demo Sprites Dynamic Behavior
  17. 17. Demo Speech Synthesis
  18. 18. Demo Custom Transition
  19. 19. Apps that use maps to display location- based information can now take full advantage of the 3D map support found in the Maps app 3D Maps
  20. 20. Demo 3D Maps
  21. 21. Supports the discovery of nearby devices and the direct communication with those devices without requiring Internet connectivity. Pass Kit Framework & iBecon
  22. 22. iBeacon
  23. 23. Demo?? iBecon
  24. 24. CIDetector *smileDetector = [CIDetector detectorOfType:CIDetectorTypeFace context:context options:@{CIDetectorTracking: @YES, CIDetectorAccuracy: CIDetectorAccuracyLow}]; NSArray *features = [smileDetector featuresInImage:image options:@{CIDetectorSmile:@YES}]; if (([features count] > 0) && (((CIFaceFeature *)features[0]).hasSmile)) { UIImageWriteToSavedPhotosAlbum(image, self, @selector(didFinishWritingImage), features); } else { self.label.text = @"Say Cheese!" } Smile & Wink Detection
  25. 25. Demo Smile & FaceDetection
  26. 26. Demo Image Filters
  27. 27. The Sprite Kit framework (SpriteKit.framework) provides a hardware-accelerated animation system optimized for creating 2D and 2.5D games. Sprite Kit provides the infrastructure that most games need, including a graphics rendering and animation system, sound playback support, and a physics simulation engine SpriteKit
  28. 28. Demo Spritekit
  29. 29. Demo Parallax
  30. 30. Add items to Safary reading list from any App Demo Reading List
  31. 31. Scan UPCs, QR codes, and barcodes of all varieties with AVCaptureMetaDataOutput Support every format out there QR reader and generator
  32. 32. DEMO QR generator
  33. 33. The Core Motion framework (CoreMotion.framework) adds support for step counting and motion tracking. DEMO Motion Activity
  34. 34. A UIFontDescriptor object describes a font using a dictionary of attributes. Use font descriptors to interoperate with other platforms. DEMO Fonts Descriptor & Font clases
  35. 35. Thanks Question??

×