keynote - tdc2015

37
NOVIDADES DO iOS 9

Upload: mauricio-t-zaquia

Post on 19-Feb-2017

213 views

Category:

Technology


0 download

TRANSCRIPT

NOVIDADES DO iOS 9

Introduction

Search extensibilitySwift 2

Third-Party Notifications

App Thinning

New multitasking APIs

GameplayKit

Layout Guides

Stack Views

Storyboard References

Content blockers

On-demand resources

Safari View Controller

Wallet

CloudKit ReplayKit

Search extensibilitySwift 2

Third-Party Notifications

App Thinning

New multitasking APIs

GameplayKit

Layout Guides

Stack Views

Storyboard References

Content blockers

On-demand resources

Safari View Controller

Wallet

CloudKit ReplayKit

watchOS 2

iPhone App

Extension

UI

watchOS 1

iPhone App

Extension

watchOS 2

UI

Extension

UI

WatchKit Foundation

CoreFoundation CoreGraphics

Image I/O CoreLocation

CoreMotion CoreData

Contacts EventKit PassKit HomeKit HealthKit CFNetwork Security MobileCoreServices

Demo

swift 2

let x = "The Developers Conference" for (index, c) in enumerate(x) { if c == "e" { println(index) } }

// 2, 5, 7, 11, 19, 21, 24

let x = "The Developers Conference" for (index, c) in x.characters.enumerate() where c == "e" {

print(index) }

// 2, 5, 7, 11, 19, 21, 24

enum DivisionError: ErrorType { case ByZero }

func divide(dividend: Float, by divisor: Float) throws -> Float { guard divisor != 0.0 else { throw DivisionError.ByZero } return dividend / divisor }

func makeItHappen() {

defer { print("The division method was called") }

do { try divide(4, by: 0) } catch DivisionError.ByZero { print("Division by zero is not allowed") } catch {}

}

Demo

S t a c k V i e w s

Alignment

Distribution

Demo

storyboard references

Demo

CoreSpotlight

NSUserActivity CoreSpotlight Web Markup

CSSearchableItem CSSearchableItemAttributeSet (Metadata)

CSSearchableIndex

Item 1 Item

2

Item 3 Item

4

Item 5

Item 6

Item 7

Demo

MULTI TASKING

Demo

MAURICIO T ZAQUIA

MAURICIO MEIRELLES

@mtzaquia @[email protected] [email protected]

https://github.com/mauriciomeirelles/TDC_2015_iOS_9

Thank you!