keynote - tdc2015
TRANSCRIPT
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
Extension
UI
WatchKit Foundation
CoreFoundation CoreGraphics
Image I/O CoreLocation
CoreMotion CoreData
Contacts EventKit PassKit HomeKit HealthKit CFNetwork Security MobileCoreServices
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 {}
}
CSSearchableItem CSSearchableItemAttributeSet (Metadata)
CSSearchableIndex
Item 1 Item
2
Item 3 Item
4
Item 5
Item 6
Item 7
MAURICIO T ZAQUIA
MAURICIO MEIRELLES
@mtzaquia @[email protected] [email protected]
https://github.com/mauriciomeirelles/TDC_2015_iOS_9