WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19
description
Transcript of WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19
![Page 1: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/1.jpg)
Results and Impressions
![Page 2: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/2.jpg)
![Page 3: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/3.jpg)
![Page 4: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/4.jpg)
![Page 5: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/5.jpg)
![Page 6: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/6.jpg)
What was presented?– iOS 8– OS X 10.10 Yosemite– Dev Tools major changes– CloudKit
![Page 7: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/7.jpg)
What was presented?– iOS 8– OS X 10.10 Yosemite– Dev Tools major changes
![Page 8: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/8.jpg)
iOS 8
![Page 9: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/9.jpg)
What’s new?• Major AppStore improvements
• Extensions
• Fixes for old API’s
• Completely new API’s (HealthKit, HomeKit, Metal, CloudKit,.\ etc.)
• Widgets in Notification Center
• etc.
![Page 10: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/10.jpg)
Fixes for old API’s
• View Controller
• UIAlertController & UIPopoverPresentationController
• Keyboard
• etc.
![Page 11: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/11.jpg)
View Controllers
• No more interface orientations
• Easier custom transitions
• Easier universal applications
![Page 12: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/12.jpg)
Interface Orientations handling
- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration
- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id <UIViewControllerTransitionCoordinator>)coordinator
![Page 13: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/13.jpg)
UIPresentationController
• presentation of view controllers
• animations
• contentView in which a presentation occurs
• presenting and presented views
![Page 14: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/14.jpg)
UIAlertController• One controller to handle alerts and action
sheets
• Presented in the same window(no more rotation workarounds!)
• Uses modern block based API
• Different appearances for landscape and portrait
![Page 15: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/15.jpg)
Keyboard
• custom keyboards
• Returns coordinates in current interface orientation
![Page 16: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/16.jpg)
UISplitViewController
• Available on iPhoneUISplitViewControllerDisplayModeAutomatic,
UISplitViewControllerDisplayModePrimaryHidden, UISplitViewControllerDisplayModeAllVisible, UISplitViewControllerDisplayModePrimaryOverlay
![Page 17: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/17.jpg)
Dev Tools
Xcode 6Swift
![Page 18: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/18.jpg)
Why you should use Swift?
• Safety
• type checks
• optionals
• typed collections
• better memory management
• Bunch of functional paradigms
• immutability by default
• generics
• closures
• tuples
• etc.
![Page 19: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/19.jpg)
Why you should use Swift?
• Playgrounds and REPL
• Good integration with Obj-C code
• Good, short and readable syntax
* - http://fuckingblocksyntax.com
Obj-C block declaration*returnType (^blockName)(parameterTypes) = ^returnType(parameters) {...};
Swift closurevar block = { (var parameters) in
…}
![Page 20: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/20.jpg)
Why you should’n?
• Syntax will be changed in future
• Performance is not so good, as shown in Keynote
• It’s impossible to create a Framework
• Lacks some usual object-oriented language features (Access modifiers, etc.)
![Page 21: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/21.jpg)
Xcode 6
• View Debugging
• Swift support
• Universal storyboards
• Interface builder supports custom objects
• etc.
![Page 22: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/22.jpg)
Demo
![Page 23: WWDC14. Let's discuss what we've saw and heard - Tech Hangout #40 - 2014.06.19](https://reader033.fdocuments.us/reader033/viewer/2022060108/554f3a71b4c90572088b4f00/html5/thumbnails/23.jpg)
Thank You!