Introducing the Contacts Framework
|
|
- Evangeline Powell
- 6 years ago
- Views:
Transcription
1 App Frameworks #WWDC15 Introducing the Contacts Framework For OS X, ios, and watchos Session 223 Bruce Stadnyk ios Contacts Engineer Dave Dribin OS X Contacts Engineer Julien Robert ios Contacts Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple.
2 What is Contacts Framework?
3 What is Contacts Framework? Objective-C and Swift API
4 What is Contacts Framework? Objective-C and Swift API Optimized for thread-safe, read only usage
5 What is Contacts Framework? Objective-C and Swift API Optimized for thread-safe, read only usage One API, multiple platforms
6 What is Contacts Framework? Objective-C and Swift API Optimized for thread-safe, read only usage One API, multiple platforms AddressBook API being deprecated
7
8
9
10 What are Contacts?
11 What are Contacts? Everyone has Contacts
12 What are Contacts? Everyone has Contacts Phone, Mail, Messages,
13 What are Contacts? Everyone has Contacts Phone, Mail, Messages,
14 What are Contacts? Everyone has Contacts Phone, Mail, Messages, Central to the user experience
15 Contact Properties
16 Contact Properties John Appleseed (home) (work) (408) (iphone)
17 Contact Properties John Appleseed (home) (work) (408) (iphone)
18 Contact Properties John Appleseed (home) (work) (408) (iphone)
19 Contact Properties John Appleseed (home) (work) (408) (iphone)
20 Contact Properties John Appleseed (home) (work) (408) (iphone)
21 Contact Properties John Appleseed (home) (work) (408) (iphone)
22 Contact Properties John Appleseed (home) (work) (408) (iphone)
23 Contact Properties contact.imagedata John contact.givenname Appleseed contact.familyname (home) (work) contact. addresses (408) (iphone) contact.phonenumbers
24 Contact Properties contact.imagedata John contact.givenname Appleseed contact.familyname (home) (work) contact. addresses (408) (iphone) contact.phonenumbers
25 Contact Properties contact.imagedata John contact.givenname Appleseed contact.familyname (home) (work) contact. addresses (408) (iphone) contact.phonenumbers
26 Contact Properties contact.imagedata John contact.givenname Appleseed contact.familyname (home) (work) contact. addresses (408) (iphone) contact.phonenumbers
27 Contact Properties contact.imagedata John contact.givenname Appleseed contact.familyname (home) (work) contact. addresses (408) (iphone) contact.phonenumbers
28 Contact Properties contact.imagedata John contact.givenname Appleseed contact.familyname (home) (work) contact. addresses (408) (iphone) contact.phonenumbers
29 Contact Objects
30 Contact Objects CNContact
31 Contact Objects CNContact CNMutableContact
32 Contact Objects CNContact CNLabeledValue CNMutableContact
33 Creating a New Contact import Contacts
34 Creating a New Contact import Contacts // create mutable for adding to the contact let contact = CNMutableContact()
35 Creating a New Contact import Contacts // create mutable for adding to the contact let contact = CNMutableContact() contact.imagedata = // profile picture as NSData
36 Creating a New Contact import Contacts // create mutable for adding to the contact let contact = CNMutableContact() contact.imagedata = // profile picture as NSData
37 Creating a New Contact import Contacts // create mutable for adding to the contact let contact = CNMutableContact() contact.imagedata = // profile picture as NSData contact.givenname = "John" contact.familyname = "Appleseed"
38 Creating a New Contact Labeled Values let home = CNLabeledValue(label: CNLabelHome, value: "john@example.com") let work = CNLabeledValue(label: CNLabelWork, value: "j.appleseed@icloud.com")
39 Creating a New Contact Labeled Values let home = CNLabeledValue(label: CNLabelHome, value: "john@example.com") let work = CNLabeledValue(label: CNLabelWork, value: "j.appleseed@icloud.com") contact. addresses = [home , work ]
40 Creating a New Contact Labeled Values let home = CNLabeledValue(label: CNLabelHome, value: "john@example.com") let work = CNLabeledValue(label: CNLabelWork, value: "j.appleseed@icloud.com") contact. addresses = [home , work ] contact.phonenumbers = [CNLabeledValue( label: CNLabelPhoneNumberiPhone, value: CNPhoneNumber(stringValue: "(408) "))]
41 Creating a New Contact Labeled Values let address = CNMutablePostalAddress() address.street = "774 Loma Vista Ave" address.city = "Los Gatos" address.state = "CA" address.postalcode = "95032"
42 Creating a New Contact Labeled Values let address = CNMutablePostalAddress() address.street = "774 Loma Vista Ave" address.city = "Los Gatos" address.state = "CA" address.postalcode = "95032" contact.postaladdresses = [CNLabeledValue(label: CNLabelHome, value: address)]
43 Creating a New Contact Dates let birthday = NSDateComponents() birthday.day = 1 birthday.month = 4 birthday.year = 1988 // can omit for a year-less birthday
44 Creating a New Contact Dates let birthday = NSDateComponents() birthday.day = 1 birthday.month = 4 birthday.year = 1988 // can omit for a year-less birthday contact.birthday = birthday
45 Formatting Contact Data
46 Formatting Contact Data let fullname = CNContactFormatter.stringFromContact(contact, style:.fullname)
47 Formatting Contact Data let fullname = CNContactFormatter.stringFromContact(contact, style:.fullname) print(fullname) // John Appleseed
48 Formatting Contact Data let fullname = CNContactFormatter.stringFromContact(contact, style:.fullname) print(fullname) // John Appleseed let postalstring = CNPostalAddressFormatter.stringFromPostalAddress(address)
49 Formatting Contact Data let fullname = CNContactFormatter.stringFromContact(contact, style:.fullname) print(fullname) // John Appleseed let postalstring = CNPostalAddressFormatter.stringFromPostalAddress(address) print(postalstring) // 774 Loma Vista Ave // Los Gatos, CA 95032
50 Using Contacts in Your App Dave Dribin OS X Contacts Engineer
51
52
53 Using Contacts in Your App CNContactStore
54 Fetching User's Contacts class CNContactStore : NSObject { func unifiedcontactsmatchingpredicate( predicate: NSPredicate, keystofetch: [CNKeyDescriptor]) -> [CNContact] throws... }
55 Predicates let predicate = CNContact.predicateForContactsMatchingName("Appleseed")
56 Predicates let predicate = CNContact.predicateForContactsMatchingName("Appleseed") John Jane Craig Appleseed Appleseed Bromley john@example.com (home) j.appleseed@icloud.com (work) (408) (iphone) April 1, 1988 (birthday) jane@example.com (home) (505) (home) (408) (work) cbromley@icloud.com (work) (465) (iphone) Jun 21 (birthday)
57 Predicates let predicate = CNContact.predicateForContactsMatchingName("Appleseed") John Jane Craig Appleseed Appleseed Bromley john@example.com (home) j.appleseed@icloud.com (work) (408) (iphone) April 1, 1988 (birthday) jane@example.com (home) (505) (home) (408) (work) cbromley@icloud.com (work) (465) (iphone) Jun 21 (birthday)
58 Keys to Fetch let keystofetch = ["givenname", "familyname"] imagedata John Jane givenname Appleseed john@example.com (home) j.appleseed@icloud.com (work) (408) (iphone) April 1, 1988 (birthday) Appleseed jane@example.com (home) (505) (home) (408) (work) familyname addresses phonenumbers birthday
59 Keys to Fetch let keystofetch = [CNContactGivenNameKey, CNContactFamilyNameKey] imagedata John Jane givenname Appleseed john@example.com (home) j.appleseed@icloud.com (work) (408) (iphone) April 1, 1988 (birthday) Appleseed jane@example.com (home) (505) (home) (408) (work) familyname addresses phonenumbers birthday
60 Keys to Fetch let keystofetch = [CNContactGivenNameKey, CNContactFamilyNameKey] imagedata John Jane givenname Appleseed john@example.com (home) j.appleseed@icloud.com (work) (408) (iphone) April 1, 1988 (birthday) Appleseed jane@example.com (home) (505) (home) (408) (work) familyname addresses phonenumbers birthday
61 How to Fetch let predicate = CNContact.predicateForContactsMatchingName("Appleseed") let keystofetch = [CNContactGivenNameKey, CNContactFamilyNameKey]
62 How to Fetch let predicate = CNContact.predicateForContactsMatchingName("Appleseed") let keystofetch = [CNContactGivenNameKey, CNContactFamilyNameKey] let store = CNContactStore() let contacts = try store.unifiedcontactsmatchingpredicate(predicate, keystofetch: keystofetch)
63 How to Fetch let predicate = CNContact.predicateForContactsMatchingName("Appleseed") let keystofetch = [CNContactGivenNameKey, CNContactFamilyNameKey] let store = CNContactStore() let contacts = try store.unifiedcontactsmatchingpredicate(predicate, keystofetch: keystofetch) for contact in contacts { } print("\(contact.givenname) \(contact.familyname)")
64 Keeping UI Responsive Main Queue Background Queue Fetch Contacts CNContact CNContact CNContact
65 Keeping UI Responsive Main Queue Background Queue Fetch Contacts CNContact CNContact CNContact CNContact CNContact CNContact
66 Data Privacy
67 Data Privacy class CNContactStore : NSObject { } func requestaccessforentitytype(..., completionhandler:) Privacy and Your App Pacific Heights Tuesday 2:30PM
68 Partial Contacts let keystofetch = [CNContactGivenNameKey, CNContactFamilyNameKey] John John givenname Appleseed john@example.com (home) j.appleseed@icloud.com (work) (408) (iphone) Appleseed john@example.com (home) j.appleseed@icloud.com (work) (408) (iphone) familyname April 1, 1988 (birthday) April 1, 1988 (birthday)
69 Partial Contacts let keystofetch = [CNContactGivenNameKey, CNContactFamilyNameKey] John John givenname Appleseed john@example.com (home) j.appleseed@icloud.com (work) (408) (iphone) Appleseed john@example.com (home) j.appleseed@icloud.com (work) (408) (iphone) familyname phonenumbers April 1, 1988 (birthday) April 1, 1988 (birthday)
70 Partial Contacts if (contact.iskeyavailable(cncontactphonenumberskey)) { } print("\(contact.phonenumbers)")
71 Partial Contacts if (contact.iskeyavailable(cncontactphonenumberskey)) { print("\(contact.phonenumbers)") } else { let keystofetch = [CNContactGivenNameKey, CNContactFamilyNameKey, CNContactPhoneNumbersKey] var refetchedcontact = try store.unifiedcontactwithidentifier( contact.identifier, keystofetch: keystofetch) print("\(refetchedcontact.phonenumbers)") }
72 Formatting Partial Contacts let keystofetch = [CNContactGivenNameKey, CNContactFamilyNameKey] Mr. John nameprefix givenname middlename Appleseed Sr. familyname namesuffix
73 Formatting Partial Contacts let keystofetch = [CNContactGivenNameKey, CNContactFamilyNameKey, CNContactNamePrefixKey, CNContactMiddleNameKey,...] Mr. John nameprefix givenname middlename Appleseed Sr. familyname namesuffix
74 Formatting Partial Contacts let keystofetch = [CNContactFormatter.descriptorForRequiredKeysForStyle(.FullName)] Mr. John nameprefix givenname middlename Appleseed Sr. familyname namesuffix + Any Others
75 Key Descriptors let predicate = CNContact.predicateForContactsMatchingName("Appleseed") let keystofetch = [ CNContactFormatter.descriptorForRequiredKeysForStyle(.FullName), CNContact AddressesKey]
76 Key Descriptors let predicate = CNContact.predicateForContactsMatchingName("Appleseed") let keystofetch = [ CNContactFormatter.descriptorForRequiredKeysForStyle(.FullName), CNContact AddressesKey] let contacts = try store.unifiedcontactsmatchingpredicate(predicate, keystofetch: keystofetch)
77 Key Descriptors let predicate = CNContact.predicateForContactsMatchingName("Appleseed") let keystofetch = [ CNContactFormatter.descriptorForRequiredKeysForStyle(.FullName), CNContact AddressesKey] let contacts = try store.unifiedcontactsmatchingpredicate(predicate, keystofetch: keystofetch) for contact in contacts { let fullname = CNContactFormatter.stringFromContact( contact, style:.fullname)?? "No Name" print("\(fullname): \(contact. addresses)") }
78 Unified Contacts icloud Facebook John John Appleseed Appleseed (work) (home) (408) (iphone) April 1, 1988 (birthday)
79 Unified Contacts icloud Facebook Unified John John John Appleseed (work) (408) (iphone) Appleseed (home) Appleseed (work) (home) (408) (iphone) April 1, 1988 (birthday) April 1, 1988 (birthday)
80 Adding a New Contact let john = CNMutableContact() john.givenname = "John" john.familyname = "Appleseed"
81 Adding a New Contact let john = CNMutableContact() john.givenname = "John" john.familyname = "Appleseed" let saverequest = CNSaveRequest() saverequest.addcontact(john, tocontainerwithidentifier: nil) try store.executesaverequest(saverequest)
82 Updating an Existing Contact let updatedcontact = contact.mutablecopy() let new = CNLabeledValue(label: CNLabelHome, value: "john@example.com") updatedcontact. addresses.append(new )
83 Updating an Existing Contact let updatedcontact = contact.mutablecopy() let new = CNLabeledValue(label: CNLabelHome, value: "john@example.com") updatedcontact. addresses.append(new ) let saverequest = CNSaveRequest() saverequest.updatecontact(updatedcontact) try store.executesaverequest(saverequest)
84 Contacts in the UI Julien Robert ios Contacts Engineer
85 ContactsUI New framework
86 ContactsUI New framework ios OS X
87 ContactsUI New framework ios OS X CNContactPickerViewController CNContactPicker
88 ContactsUI New framework ios OS X CNContactPickerViewController CNContactPicker CNContactViewController CNContactViewController
89 Picking Contacts CNContactPickerViewController
90 Picking Contacts CNContactPickerViewController Modern replacement for ABPeoplePickerNavigationController
91 Picking Contacts CNContactPickerViewController Modern replacement for ABPeoplePickerNavigationController Must be presented, not pushed
92 Picking Contacts CNContactPickerViewController Modern replacement for ABPeoplePickerNavigationController Must be presented, not pushed Always out of process, no contacts access dialog
93 Picking Contacts CNContactPickerViewController Modern replacement for ABPeoplePickerNavigationController Must be presented, not pushed Always out of process, no contacts access dialog May return partial contacts
94 Picking Contacts CNContactPickerViewController Modern replacement for ABPeoplePickerNavigationController Must be presented, not pushed Always out of process, no contacts access dialog May return partial contacts Behavior based on delegate methods and predicates
95 Picking Contacts CNContactPickerViewController Modern replacement for ABPeoplePickerNavigationController Must be presented, not pushed Always out of process, no contacts access dialog May return partial contacts Behavior based on delegate methods and predicates Supports multi-selection
96 Picking Contacts Delegate methods
97 Picking Contacts Delegate methods Single contact
98 Picking Contacts Delegate methods Single contact contactpicker(picker, didselectcontact contact: CNContact)
99 Picking Contacts Delegate methods Single contact contactpicker(picker, didselectcontact contact: CNContact) Single property contactpicker(picker, didselectcontactproperty property: CNContactProperty)
100 Picking Contacts Delegate methods Single contact contactpicker(picker, didselectcontact contact: CNContact) Single property contactpicker(picker, didselectcontactproperty property: CNContactProperty) class CNContactProperty { var contact: CNContact var key: NSString var value: AnyObject? var identifier: NSString? }
101 Picking Contacts Delegate methods
102 Picking Contacts Delegate methods Multiple contacts
103 Picking Contacts Delegate methods Multiple contacts contactpicker(picker, didselectcontacts contacts: [CNContact])
104 Picking Contacts Delegate methods Multiple contacts contactpicker(picker, didselectcontacts contacts: [CNContact]) Multiple properties contactpicker(picker, didselectcontactproperties properties: [CNContactProperty])
105 Picking Contacts Predicates
106 Picking Contacts Predicates predicateforenablingcontact Which contacts are available Evaluated on CNContact
107 Picking Contacts Predicates predicateforenablingcontact Which contacts are available Evaluated on CNContact
108 Picking Contacts Predicates predicateforenablingcontact Which contacts are available Evaluated on CNContact let predicate = NSPredicate(format: "familyname LIKE[cd] 'parker'")
109 Picking Contacts Predicates predicateforenablingcontact Which contacts are available Evaluated on CNContact let predicate = NSPredicate(format: "familyname LIKE[cd] 'parker'") contactpicker.predicateforenablingcontact = predicate
110 Picking Contacts Predicates
111 Picking Contacts Predicates predicateforselectionofcontact Which contacts are returned when tapped, others push the card
112 Picking Contacts Predicates predicateforselectionofcontact Which contacts are returned when tapped, others push the card predicateforselectionofproperty Which properties are returned when tapped, others perform the default action Evaluated on CNContactProperty
113 Picking Contacts Predicates predicateforselectionofcontact Which contacts are returned when tapped, others push the card predicateforselectionofproperty Which properties are returned when tapped, others perform the default action Evaluated on CNContactProperty Coherence between predicates and delegate methods
114 Viewing Contacts CNContactViewController
115 Viewing Contacts CNContactViewController One class to replace ABPersonViewController ABNewPersonViewController ABUnknownPersonViewController
116 Viewing Contacts CNContactViewController
117 Viewing Contacts CNContactViewController Use appropriate creation method
118 Viewing Contacts CNContactViewController Use appropriate creation method viewcontrollerforcontact:
119 Viewing Contacts CNContactViewController Use appropriate creation method viewcontrollerforcontact: viewcontrollerfornewcontact:
120 Viewing Contacts CNContactViewController Use appropriate creation method viewcontrollerforcontact: viewcontrollerfornewcontact: viewcontrollerforunknowncontact:
121 Viewing Contacts CNContactViewController Use appropriate creation method viewcontrollerforcontact: viewcontrollerfornewcontact: viewcontrollerforunknowncontact:
122 Viewing Contacts CNContactViewController Use appropriate creation method viewcontrollerforcontact: viewcontrollerfornewcontact: viewcontrollerforunknowncontact: Always out of process
123 Viewing Contacts CNContactViewController Use appropriate creation method viewcontrollerforcontact: viewcontrollerfornewcontact: viewcontrollerforunknowncontact: Always out of process Contact must be fetched with descriptorforrequiredkeys
124 Viewing Contacts Example let contact = try contactstore.unifiedcontactwithidentifier(identifier, keystofetch: [CNContactViewController.descriptorForRequiredKeys])
125 Viewing Contacts Example let contact = try contactstore.unifiedcontactwithidentifier(identifier, keystofetch: [CNContactViewController.descriptorForRequiredKeys]) let viewcontroller = CNContactViewController(forContact: contact)
126 Viewing Contacts Example let contact = try contactstore.unifiedcontactwithidentifier(identifier, keystofetch: [CNContactViewController.descriptorForRequiredKeys]) let viewcontroller = CNContactViewController(forContact: contact) viewcontroller.contactstore = self.contactstore viewcontroller.delegate = self
127 Viewing Contacts Example let contact = try contactstore.unifiedcontactwithidentifier(identifier, keystofetch: [CNContactViewController.descriptorForRequiredKeys]) let viewcontroller = CNContactViewController(forContact: contact) viewcontroller.contactstore = self.contactstore viewcontroller.delegate = self self.pushviewcontroller(viewcontroller)
128 Viewing Contacts Example let contact = try contactstore.unifiedcontactwithidentifier(identifier, keystofetch: [CNContactViewController.descriptorForRequiredKeys]) let viewcontroller = CNContactViewController(forContact: contact) viewcontroller.contactstore = self.contactstore viewcontroller.delegate = self self.pushviewcontroller(viewcontroller) func contactviewcontroller(vc, didcompletewithcontact: contact) { } // do something with the modified contact
129 Demo Picking and Viewing Contacts Meow
130 Summary A new modern Contacts API Common across all platforms Adopt now!
131 More Information Documentation Contacts Framework Reference ContactsUI Framework Reference Technical Support Apple Developer Forums General Inquiries Paul Marcos, App Frameworks Evangelist
132 Labs Contacts, Calendar and Reminders Lab Frameworks Lab A Thursday 4:30PM Contacts, Calendar and Reminders Lab Frameworks Lab A Friday 9:00AM
133
ios Accessibility Developing for everyone Session 201 Ian Fisch ios Accessibility
App Frameworks #WWDC15 ios Accessibility Developing for everyone Session 201 Ian Fisch ios Accessibility 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without written
More informationAddress Book for iphone
Address Book for iphone The people s framework Alexandre Aybes iphone Software Engineer 2 3 Address Book for iphone The people s framework Alexandre Aybes iphone Software Engineer 4 What We Will Cover
More informationGetting the Most Out of HealthKit
App Frameworks #WWDC16 Getting the Most Out of HealthKit What s new and best practices Session 209 Matthew Salesi ios Software Engineer Joefrey Kibuule ios Software Engineer 2016 Apple Inc. All rights
More informationWhat s New in Notifications
System Frameworks #WWDC15 What s New in Notifications Session 720 Michele Campeotto ios Notifications Gokul Thirumalai Apple Push Notification Service 2015 Apple Inc. All rights reserved. Redistribution
More informationMonetize and Promote Your App with iad
Media #WWDC15 Monetize and Promote Your App with iad From design to launch Session 503 Carol Teng Shashank Phadke 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without
More informationSeamless Linking to Your App
App Frameworks #WWDC15 Seamless Linking to Your App Session 509 Conrad Shultz Safari and WebKit Software Engineer Jonathan Grynspan Core Services Software Engineer 2015 Apple Inc. All rights reserved.
More informationData Delivery with Drag and Drop
Session App Frameworks #WWDC17 Data Delivery with Drag and Drop 227 Dave Rahardja, UIKit Tanu Singhal, UIKit 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without
More informationWatchKit In-Depth, Part 2
App Frameworks #WWDC15 WatchKit In-Depth, Part 2 Session 208 Nathan de Vries watchos Engineer Chloe Chang watchos Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted
More informationAccessibility on OS X
Frameworks #WWDC14 Accessibility on OS X New Accessibility API Session 207 Patti Hoa Accessibility Engineer! Chris Dolan Accessibility Engineer 2014 Apple Inc. All rights reserved. Redistribution or public
More informationCloudKit Tips And Tricks
System Frameworks #WWDC15 CloudKit Tips And Tricks Session 715 Nihar Sharma CloudKit Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationEnhancing your apps for the next dimension of touch
App Frameworks #WWDC16 A Peek at 3D Touch Enhancing your apps for the next dimension of touch Session 228 Tyler Fox UIKit Frameworks Engineer Peter Hajas UIKit Frameworks Engineer 2016 Apple Inc. All rights
More informationBuilding Watch Apps #WWDC15. Featured. Session 108. Neil Desai watchos Engineer
Featured #WWDC15 Building Watch Apps Session 108 Neil Desai watchos Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. Agenda
More informationWhat s New in CloudKit
System Frameworks #WWDC15 What s New in CloudKit Session 704 Olivier Bonnet icloud Client Eric Krugler icloud Server 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted
More informationWhat's New in Core Spotlight
Session System Frameworks #WWDC17 What's New in Core Spotlight Search on macos and ios 231 John Hörnkvist, Spotlight Lyn Fong, Spotlight 2017 Apple Inc. All rights reserved. Redistribution or public display
More informationAccessibility on ios. Developing for everyone. Frameworks #WWDC14. Session 210 Clare Kasemset ios Accessibility
Frameworks #WWDC14 Accessibility on ios Developing for everyone Session 210 Clare Kasemset ios Accessibility 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without
More informationCamera, Events, and Contacts. Dr. Sarah Abraham
Camera, Events, and Contacts Dr. Sarah Abraham University of Texas at Austin CS329e Fall 2016 Camera and Photo Library Using the Camera and Photos UIImagePickerController handles access to camera device,
More informationCreating Complications with ClockKit Session 209
App Frameworks #WWDC15 Creating Complications with ClockKit Session 209 Eliza Block watchos Engineer Paul Salzman watchos Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display
More informationMysteries of Auto Layout, Part 1
App Frameworks #WWDC15 Mysteries of Auto Layout, Part 1 Session 218 Jason Yao Interface Builder Engineer Kasia Wawer ios Keyboards Engineer 2015 Apple Inc. All rights reserved. Redistribution or public
More informationWhat s New in HomeKit
App Frameworks #WWDC15 What s New in HomeKit Session 210 Anush Nadathur HomeKit Engineer Naveen Kommareddi HomeKit Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted
More informationIntroducing the Photos Frameworks
Media #WWDC14 Introducing the Photos Frameworks Session 511 Adam Swift ios Photos Frameworks 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationUsing and Extending the Xcode Source Editor
Developer Tools #WWDC16 Using and Extending the Xcode Source Editor Session 414 Mike Swingler Xcode Infrastructure and Editors Chris Hanson Xcode Infrastructure and Editors 2016 Apple Inc. All rights reserved.
More informationIntroducing CloudKit. A how-to guide for icloud for your Apps. Frameworks #WWDC14. Session 208 Olivier Bonnet CloudKit Client Software
Frameworks #WWDC14 Introducing CloudKit A how-to guide for icloud for your Apps Session 208 Olivier Bonnet CloudKit Client Software 2014 Apple Inc. All rights reserved. Redistribution or public display
More informationNetworking with NSURLSession
System Frameworks #WWDC15 Networking with NSURLSession Session 711 Luke Case Software Engineer Andreas Garkuscha Software Engineer Dan Vinegrad Software Engineer 2015 Apple Inc. All rights reserved. Redistribution
More informationWhat s New in Xcode App Signing
Developer Tools #WWDC16 What s New in Xcode App Signing Developing and distributing Session 401 Joshua Pennington Tools Engineering Manager Itai Rom Tools Engineer 2016 Apple Inc. All rights reserved.
More informationWhat s New in NSCollectionView Session 225
App Frameworks #WWDC15 What s New in NSCollectionView Session 225 Troy Stephens Application Frameworks Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without
More informationUsing Grouped Notifications
#WWDC18 Using Grouped Notifications Session 711 Michele Campeotto, ios User Notifications 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationCocoa Touch Best Practices
App Frameworks #WWDC15 Cocoa Touch Best Practices Session 231 Luke Hiesterman UIKit Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationCreating Great App Previews
Services #WWDC14 Creating Great App Previews Session 304 Paul Turner Sr. Operations Manager itunes Digital Supply Chain Engineering 2014 Apple Inc. All rights reserved. Redistribution or public display
More informationThread Sanitizer and Static Analysis
Developer Tools #WWDC16 Thread Sanitizer and Static Analysis Help with finding bugs in your code Session 412 Anna Zaks Manager, Program Analysis Team Devin Coughlin Engineer, Program Analysis Team 2016
More informationMastering Drag and Drop
Session App Frameworks #WWDC17 Mastering Drag and Drop 213 Tom Adriaenssen, UIKit Wenson Hsieh, WebKit Robb Böhnke, UIKit 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted
More informationNew Ways to Work with Workouts
Session #WWDC18 New Ways to Work with Workouts 707 Niharika Bedekar, Fitness Software Engineer Karim Benhmida, Health Software Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display
More informationWhat s New in tvos 12
#WWDC18 What s New in tvos 12 Session 208 Hans Kim, tvos Engineering 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. Agenda Agenda
More informationImplementing UI Designs in Interface Builder
Developer Tools #WWDC15 Implementing UI Designs in Interface Builder Session 407 Kevin Cathey Interface Builder Engineer Tony Ricciardi Interface Builder Engineer 2015 Apple Inc. All rights reserved. Redistribution
More informationCross Platform Nearby Networking
Core OS #WWDC14 Cross Platform Nearby Networking Session 709 Demijan Klinc Software Engineer 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationIntroducing the Modern WebKit API
Frameworks #WWDC14 Introducing the Modern WebKit API Session 206 Anders Carlsson Safari and WebKit Engineer 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written
More informationimessage Apps and Stickers, Part 2
App Frameworks #WWDC16 imessage Apps and Stickers, Part 2 Interactive Messages Session 224 Alex Carter Messages Engineer Stephen Lottermoser Messages Engineer 2016 Apple Inc. All rights reserved. Redistribution
More informationApp Extension Best Practices
App Frameworks #WWDC15 App Extension Best Practices Session 224 Sophia Teutschler UIKit Engineer Ian Baird CoreOS Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted
More informationAdvanced Scrollviews and Touch Handling Techniques
Frameworks #WWDC14 Advanced Scrollviews and Touch Handling Techniques Session 235 Josh Shaffer ios Apps and Frameworks Engineer Eliza Block ios Apps and Frameworks Engineer 2014 Apple Inc. All rights reserved.
More informationIntroducing Password AutoFill for Apps
Session App Frameworks #WWDC17 Introducing Password AutoFill for Apps Reducing friction for your users 206 Ricky Mondello, ios Engineer 2017 Apple Inc. All rights reserved. Redistribution or public display
More informationBuilding for Voice with Siri Shortcuts
#WWDC18 Building for Voice with Siri Shortcuts Session 214 Amit Jain, Siri Ayaka Nonaka, Siri 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationIntroducing On Demand Resources
App Frameworks #WWDC15 Introducing On Demand Resources An element of App Thinning Session 214 Steve Lewallen Frameworks Engineering Tony Parker Cocoa Frameworks 2015 Apple Inc. All rights reserved. Redistribution
More informationWhat s New in tvos #WWDC16. App Frameworks. Session 206. Hans Kim tvos Engineer
App Frameworks #WWDC16 What s New in tvos Session 206 Hans Kim tvos Engineer 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. Welcome
More informationWhat s New in Foundation for Swift Session 207
App Frameworks #WWDC16 What s New in Foundation for Swift Session 207 Tony Parker Foundation, Apple Michael LeHew Foundation, Apple 2016 Apple Inc. All rights reserved. Redistribution or public display
More informationKevin van Vechten Core OS
Kevin van Vechten Core OS 2 3 Bill Bumgarner 4 (lambda (a) (add a d)) 10 timesrepeat:[pen turn:d; draw] z.each { val puts(val + d.to_s)} repeat(10, ^{ putc('0'+ d); }); 5 6 7 8 ^ 9 [myset objectspassingtest:
More informationWhat s New in Cocoa for macos
Session #WWDC18 What s New in Cocoa for macos 209 Ali Ozer, Cocoa Frameworks Chris Dreessen, Cocoa Frameworks Jesse Donaldson, Cocoa Frameworks 2018 Apple Inc. All rights reserved. Redistribution or public
More informationQuick Interaction Techniques for watchos
App Frameworks #WWDC16 Quick Interaction Techniques for watchos Session 211 Tom Witkin watchos Engineer Miguel Sanchez watchos Engineer 2016 Apple Inc. All rights reserved. Redistribution or public display
More informationWhat s New in Testing
#WWDC18 What s New in Testing Session 403 Honza Dvorsky, Xcode Engineer Ethan Vaughan, Xcode Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written
More informationMastering UIKit on tvos
App Frameworks #WWDC16 Mastering UIKit on tvos Session 210 Justin Voss UIKit Engineer 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from
More informationExtending Your Apps with SiriKit
App Frameworks #WWDC16 Extending Your Apps with SiriKit Session 225 Vineet Khosla SiriKit Engineering Diana Huang SiriKit Engineering Scott Andrus SiriKit Engineering 2016 Apple Inc. All rights reserved.
More informationCreating Extensions for ios and OS X, Part Two
Frameworks #WWDC14 Creating Extensions for ios and OS X, Part Two Architecture Session 217 Damien Sorresso Overloaded Operator 2014 Apple Inc. All rights reserved. Redistribution or public display not
More informationMedia and Gaming Accessibility
Session System Frameworks #WWDC17 Media and Gaming Accessibility 217 Greg Hughes, Software Engineering Manager Charlotte Hill, Software Engineer 2017 Apple Inc. All rights reserved. Redistribution or public
More informationBuilding Faster in Xcode
#WWDC18 Building Faster in Xcode Session 408 David Owens, Xcode Engineer Jordan Rose, Swift Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written
More informationDesigning Great Apple Watch Experiences
Design #WWDC16 Designing Great Apple Watch Experiences Session 804 Mike Stern User Experience Evangelist 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written
More informationIntroducing MusicKit. Media #WWDC17. Tim Parthemore, MusicKit Services Joel Lopes Da Silva, ios Music
Session Media #WWDC17 Introducing MusicKit 502 Tim Parthemore, MusicKit Services Joel Lopes Da Silva, ios Music 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without
More informationGetting Started with CareKit
App Frameworks #WWDC16 Getting Started with CareKit Session 237 Umer Khan Software Engineer 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationDesigning for Apple Watch
Design #WWDC15 Designing for Apple Watch Session 802 Mike Stern User Experience Evangelist 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationWorking with Metal Overview
Graphics and Games #WWDC14 Working with Metal Overview Session 603 Jeremy Sandmel GPU Software 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationImproving your Existing Apps with Swift
Developer Tools #WWDC15 Improving your Existing Apps with Swift Getting Swifty with It Session 403 Woody L. in the Sea of Swift 2015 Apple Inc. All rights reserved. Redistribution or public display not
More informationMultitasking Support on the ios Platform
Multitasking Support on the ios Platform Priya Rajagopal Invicara (www.invicara.com) @rajagp Multitasking on ios? Multitasking allows apps to perform certain tasks in the background while you're using
More informationWhat s New in imessage Apps
Session App Frameworks #WWDC17 What s New in imessage Apps 234 Eugene Bistolas, Messages Engineer Jay Chae, Messages Engineer Stephen Lottermoser, Messages Engineer 2017 Apple Inc. All rights reserved.
More informationSwift API Design Guidelines
Developer Tools #WWDC16 Swift API Design Guidelines The Grand Renaming Session 403 Doug Gregor Swift Engineer Michael Ilseman Swift Engineer 2016 Apple Inc. All rights reserved. Redistribution or public
More informationAdvanced Notifications
System Frameworks #WWDC16 Advanced Notifications Session 708 Michele Campeotto ios Notifications 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationStoryboards and Controllers on OS X
Frameworks #WWDC14 Storyboards and Controllers on OS X Contain yourself Session 212 Mike Swingler Interface Builder Engineer Raleigh Ledet AppKit Engineer 2014 Apple Inc. All rights reserved. Redistribution
More informationWhat s New in watchos
Session App Frameworks #WWDC17 What s New in watchos 205 Ian Parks, watchos Engineering 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from
More informationMastering Xcode for iphone OS Development Part 1. Todd Fernandez Sr. Manager, IDEs
Mastering Xcode for iphone OS Development Part 1 Todd Fernandez Sr. Manager, IDEs 2 3 Customer Reviews Write a Review Current Version (1) All Versions (24) Gorgeous and Addictive Report a Concern by Play
More informationProfiling in Depth. Do you know where your code is? Session 412. Kris Markel Performance Tools Engineer Chad Woolf Performance Tools Engineer
Developer Tools #WWDC15 Profiling in Depth Do you know where your code is? Session 412 Kris Markel Performance Tools Engineer Chad Woolf Performance Tools Engineer 2015 Apple Inc. All rights reserved.
More informationIntroduction to Siri Shortcuts
#WWDC8 Introduction to Siri Shortcuts Session 2 Ari Weinstein, Siri Willem Mattelaer, Siri 208 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationAudio Unit Extensions
Media #WWDC15 Audio Unit Extensions Session 508 Doug Wyatt Core Audio Plumber 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple.
More informationCreating Audio Apps for watchos
Session #WWDC18 Creating Audio Apps for watchos 504 Neil Desai, watchos Frameworks Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationYour Apps and the Future of macos Security
#WWDC18 Your Apps and the Future of macos Security Pierre-Olivier Martel, Security Engineering Manager Kelly Yancey, OS Security Garrett Jacobson, Trusted Execution 2018 Apple Inc. All rights reserved.
More informationitunes Connect Development to distribution #WWDC15 Distribution Session 304
Distribution #WWDC15 itunes Connect Development to distribution Session 304 Paul Turner Senior Engineering Operations Manager, itunes Digital Supply Chain 2015 Apple Inc. All rights reserved. Redistribution
More informationTouch Bar Fundamentals
Session App Frameworks #WWDC17 Touch Bar Fundamentals 211 Chris Dreessen John Tegtmeyer 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from
More informationWhat s New in Metal, Part 2
Graphics and Games #WWDC15 What s New in Metal, Part 2 Session 607 Dan Omachi GPU Software Frameworks Engineer Anna Tikhonova GPU Software Frameworks Engineer 2015 Apple Inc. All rights reserved. Redistribution
More informationApple Watch Design Tips and Tricks
Design #WWDC15 Apple Watch Design Tips and Tricks Session 805 Mike Stern User Experience Evangelist Rachel Roth User Experience Evangelist 2015 Apple Inc. All rights reserved. Redistribution or public
More informationNew UIKit Support for International User Interfaces
App Frameworks #WWDC15 New UIKit Support for International User Interfaces Session 222 Sara Radi Internationalization Software Engineer Aaltan Ahmad Internationalization Software Engineer Paul Borokhov
More informationWhat s New in SiriKit
Session App Frameworks #WWDC17 What s New in SiriKit 214 Sirisha Yerroju, SiriKit Engineer Tin Tran, SiriKit Engineer 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted
More informationCS193P - Lecture 13. iphone Application Development. Address Book - Putting People in Your App
CS193P - Lecture 13 iphone Application Development Address Book - Putting People in Your App 1 Announcements Paparazzi 3 due tomorrow at 11:59PM Paparazzi 4 (last assignment!) due next Wednesday 2 Final
More informationIntroducing Search APIs
System Frameworks #WWDC15 Introducing Search APIs Increase app usage and discoverability Session 709 Vipul Ved Prakash Siri Dave Salim Siri Jason Douglas Siri 2015 Apple Inc. All rights reserved. Redistribution
More informationWhat s New in MapKit. App Frameworks #WWDC17. Fredrik Olsson
Session App Frameworks #WWDC17 What s New in MapKit 237 Fredrik Olsson 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. MKMapView.mapType.standard
More informationAdvances in AVFoundation Playback
Media #WWDC16 Advances in AVFoundation Playback Waiting, looping, switching, widening, optimizing Session 503 Sam Bushell Media Systems Architect 2016 Apple Inc. All rights reserved. Redistribution or
More informationGetting the Most out of Playgrounds in Xcode
#WWDC18 Getting the Most out of Playgrounds in Xcode Session 402 Tibet Rooney-Rabdau, Xcode Engineer Alex Brown, Core OS Engineer TJ Usiyan, Xcode Engineer 2018 Apple Inc. All rights reserved. Redistribution
More informationModern User Interaction on ios
App Frameworks #WWDC17 Modern User Interaction on ios Mastering the UIKit UIGesture System Session 219 Dominik Wagner, UIKit Engineer Michael Turner, UIKit Engineer Glen Low, UIKit Engineer 2017 Apple
More informationAdopting Advanced Features of the New UI
Frameworks #WWDC14 Adopting Advanced Features of the New UI Session 220 Chris Dreessen AppKit Software Engineer! Corbin Dunn AppKit Software Engineer 2014 Apple Inc. All rights reserved. Redistribution
More informationWhat's New in UIKit Dynamics and Visual Effects Session 229
App Frameworks #WWDC15 What's New in UIKit Dynamics and Visual Effects Session 229 Michael Turner UIKit Engineer David Duncan UIKit Engineer 2015 Apple Inc. All rights reserved. Redistribution or public
More informationOptimizing Swift Performance Session 409
Developer Tools #WWDC15 Optimizing Swift Performance Session 409 Nadav Rotem Manager, Swift Performance Team Michael Gottesman Engineer, Swift Performance Team Joe Grzywacz Engineer, Performance Tools
More informationCore Data Best Practices
#WWDC18 Core Data Best Practices Session 224 Scott Perry, Engineer Nick Gillett, Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationBuilding Apps with Dynamic Type
Session App Frameworks #WWDC17 Building Apps with Dynamic Type 245 Clare Kasemset, Software Engineering Manager Nandini Sundar, Software Engineer 2017 Apple Inc. All rights reserved. Redistribution or
More informationWhat s New in Core Data?
Session App Frameworks #WWDC17 What s New in Core? Persisting since 2004 210 Melissa Turner, Core Engineer Rishi Verma, Core Engineer 2017 Apple Inc. All rights reserved. Redistribution or public display
More informationWriting Great Alerts. Design #WWDC17. Natalie Calvert, Designer
Session Design #WWDC17 Writing Great Alerts 813 Natalie Calvert, Designer 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. When
More informationLocalizing with Xcode 9
Session Developer Tools #WWDC17 Localizing with Xcode 9 401 Sara Radi, Software Engineer Aya Siblini, Software Engineer Chris Hanson, Software Engineer 2017 Apple Inc. All rights reserved. Redistribution
More informationFinding Bugs Using Xcode Runtime Tools
Session Developer Tools #WWDC17 Finding Bugs Using Xcode Runtime Tools 406 Kuba Mracek, Program Analysis Engineer Vedant Kumar, Compiler Engineer 2017 Apple Inc. All rights reserved. Redistribution or
More informationIntroducing Swift Playgrounds
Developer Tools #WWDC16 Introducing Swift Playgrounds Exploring with Swift on ipad Session 408 Matt Patenaude Playgrounds Engineer Maxwell Swadling Playgrounds Engineer Jonathan Penn Playgrounds Engineer
More informationVision Framework. Building on Core ML. Media #WWDC17. Brett Keating, Apple Manager Frank Doepke, He who wires things together
Session Media #WWDC17 Vision Framework Building on Core ML 506 Brett Keating, Apple Manager Frank Doepke, He who wires things together 2017 Apple Inc. All rights reserved. Redistribution or public display
More informationMastering Xcode for iphone OS Development Part 2. Marc Verstaen Sr. Manager, iphone Tools
Mastering Xcode for iphone OS Development Part 2 Marc Verstaen Sr. Manager, iphone Tools 2 Tale of Two Sessions Part 1: Orientation: Tour of complete development cycle Part 2: Mastery: Details of several
More informationCore ML in Depth. System Frameworks #WWDC17. Krishna Sridhar, Core ML Zach Nation, Core ML
System Frameworks #WWDC17 Core ML in Depth Krishna Sridhar, Core ML Zach Nation, Core ML 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from
More informationAdvanced Debugging and the Address Sanitizer
Developer Tools #WWDC15 Advanced Debugging and the Address Sanitizer Finding your undocumented features Session 413 Mike Swingler Xcode UI Infrastructure Anna Zaks LLVM Program Analysis 2015 Apple Inc.
More informationWriting Energy Efficient Apps
Session App Frameworks #WWDC17 Writing Energy Efficient Apps 238 Daniel Schucker, Software Power Engineer Prajakta Karandikar, Software Power Engineer 2017 Apple Inc. All rights reserved. Redistribution
More informationPower, Performance, and Diagnostics
Core OS #WWDC14 Power, Performance, and Diagnostics What's new in GCD and XPC Session 716 Daniel Steffen Darwin Runtime Engineer 2014 Apple Inc. All rights reserved. Redistribution or public display not
More informationIntegrating Apps and Content with AR Quick Look
Session #WWDC18 Integrating Apps and Content with AR Quick Look 603 David Lui, ARKit Engineering Dave Addey, ARKit Engineering 2018 Apple Inc. All rights reserved. Redistribution or public display not
More informationEnabling Your App for CarPlay
Session App Frameworks #WWDC17 Enabling Your App for CarPlay 719 Albert Wan, CarPlay Engineering 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More information