CloudKit Tips And Tricks
|
|
- Job Russell
- 5 years ago
- Views:
Transcription
1 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 from Apple.
2 CloudKit What is it?
3 CloudKit What is it? icloud database
4 CloudKit What is it? icloud database Large file storage
5 CloudKit What is it? icloud database Large file storage Privacy obsessed
6 CloudKit What is it? icloud database Large file storage Privacy obsessed Developer API
7 CloudKit What is it? icloud database Large file storage Privacy obsessed Developer API Apple applications built on it
8 CloudKit One year later apple
9 CloudKit No really, what is it? Introduction to CloudKit Advanced CloudKit WWDC14 WWDC14
10 100% Awesome with Swift 2!
11 record.setobject(5, forkey: "numberofclowns") if let partydate = record.objectforkey("date") as? NSDate { }
12
13 record["numberofclowns"] = 5 if let partydate = record["date"] as? NSDate { }
14 record["numberofclowns"] = 5 if let partydate = record["date"] as? NSDate { } modifyrecordsoperation.recordstosave = ["I m not a CKRecord!"]
15 record["numberofclowns"] = 5 if let partydate = record["date"] as? NSDate { } modifyrecordsoperation.recordstosave = ["I m not a CKRecord!"] error: cannot assign a value of type '[String]' to a value of type '[CKRecord]?'
16 CloudKit Storage architecture
17 CloudKit Storage architecture CloudKit Container
18 CloudKit Storage architecture CloudKit Container Public Database
19 CloudKit Storage architecture CloudKit Container Public Database Private Database
20 CloudKit Storage architecture CloudKit Container Public Database Private Database Default Zone Record Record Record Record Record
21 CloudKit Storage architecture CloudKit Container Public Database Private Database Default Zone Default Zone Record Record Record Record Record Record Record Record Record Record
22 CloudKit Storage architecture CloudKit Container Public Database Private Database Default Zone Default Zone Custom Zone Record Record Record Record Record Record Record Record Record Record Record Record Record Record Record
23 What We ll Cover Today Clown storage app
24 What We ll Cover Today Clown storage app Public Database Party Clown Party Clown Clown
25 ClownCentral Our best fake clown app yet
26 Accounts New Jimmy Reviewed Nihar s Party We re blowing up balloons and icing the cake! There s a big birthday party that we hope you can make! We re not clowning around so circle the date for Nihar s Party. Nihar Hosted His 10th Party! Susan Reviewed Nihar s Party Dan Reviewed Nihar s Party John Hosted His 3rd Party! Alice Hosted her 6th Party! News Parties Photos Reviews
27 What We ll Cover Today CloudKit tips and tricks
28 What We ll Cover Today CloudKit tips and tricks Error handling
29 What We ll Cover Today CloudKit tips and tricks Error handling Local cache
30 What We ll Cover Today CloudKit tips and tricks Error handling Local cache Subscriptions
31 What We ll Cover Today CloudKit tips and tricks Error handling Local cache Subscriptions Performance
32 Error Handling with CloudKit As important as any feature!
33 Account Status
34 Account Status ClownCentral requires icloud account
35 Account Status ClownCentral requires icloud account Private database access
36 Account Status ClownCentral requires icloud account Private database access Public database write access
37 Account Status ClownCentral requires icloud account Private database access Public database write access container.accountstatuswithcompletionhandler { accountstatus, error in }
38 Account Status
39 Account Status CKErrorNotAuthenticated
40 Account Status CKErrorNotAuthenticated Check account status
41 Account Status CKErrorNotAuthenticated Check account status CKAccountStatusNoAccount
42 Account Status CKErrorNotAuthenticated Check account status CKAccountStatusNoAccount CKAccountChangedNotification
43 Account Status CKErrorNotAuthenticated Check account status CKAccountStatusNoAccount CKAccountChangedNotification
44 Account Status Accounts New Jimmy Reviewed Nihar s Party CKErrorNotAuthenticated Check account status CKAccountStatusNoAccount CKAccountChangedNotification We re blowing up balloons and icing the cake! There s a big birthday party that we hope you can make! We re not clowning around so circle the date for Nihar s Party. Nihar Hosted His 10th Party! Susan Reviewed Nihar s Party Dan Reviewed Nihar s Party John Hosted His 3rd Party! Alice Hosted her 6th Party! News Parties Photos Reviews
45 Account Status Accounts New Jimmy Reviewed Nihar s Party CKErrorNotAuthenticated Check account status CKAccountStatusNoAccount CKAccountChangedNotification We re blowing up balloons and icing the cake! There s a big birthday party that we hope you can make! We re not clowning around so circle the date for Nihar s Party. ClownCentral Nihar Hosted His 10th Party! Please sign into an icloud account. Susan Reviewed Nihar s Party OK Dan Reviewed Nihar s Party John Hosted His 3rd Party! Alice Hosted her 6th Party! News Parties Photos Reviews
46 Account Status Accounts New Jimmy Reviewed Nihar s Party CKErrorNotAuthenticated Check account status CKAccountStatusNoAccount CKAccountChangedNotification We re blowing up balloons and icing the cake! There s a big birthday party that we hope you can make! We re not clowning around so circle the date for Nihar s Party. ClownCentral Nihar Hosted His 10th Party! Please sign into an icloud account. Susan Reviewed Nihar s Party OK Dan Reviewed Nihar s Party John Hosted His 3rd Party! Alice Hosted her 6th Party! News Parties Photos Reviews
47 Account Status Accounts New Jimmy Reviewed Nihar s Party CKErrorNotAuthenticated Check account status CKAccountStatusNoAccount CKAccountChangedNotification We re blowing up balloons and icing the cake! There s a big birthday party that we hope you can make! We re not clowning around so circle the date for Nihar s Party. Nihar Hosted His 10th Party! Susan Reviewed Nihar s Party Dan Reviewed Nihar s Party John Hosted His 3rd Party! Alice Hosted her 6th Party! News Parties Photos Reviews
48 Account Status Accounts New Jimmy Reviewed Nihar s Party CKErrorNotAuthenticated Check account status CKAccountStatusNoAccount CKAccountChangedNotification We re blowing up balloons and icing the cake! There s a big birthday party that we hope you can make! We re not clowning around so circle the date for Nihar s Party. Nihar Hosted His 10th Party! Susan Reviewed Nihar s Party Dan Reviewed Nihar s Party John Hosted His 3rd Party! Alice Hosted her 6th Party! News Parties Photos Reviews
49 Retrying Operations
50 Retrying Operations Poor network conditions CKErrorNetworkFailure
51 Retrying Operations Poor network conditions CKErrorNetworkFailure Busy servers CKErrorServiceUnavailable CKErrorZoneBusy
52 Retrying Operations
53 Retrying Operations CKErrorRetryAfterKey if let retryaftervalue = error.userinfo[ckerrorretryafterkey] as? Double { let retryafterdate = NSDate(timeIntervalSinceNow: retryaftervalue) }
54 Rate Limiting
55 Rate Limiting CKErrorRequestRateLimited
56 Rate Limiting CKErrorRequestRateLimited Mitigates application bugs
57 Rate Limiting CKErrorRequestRateLimited Mitigates application bugs Client-side throttle
58 Rate Limiting CKErrorRequestRateLimited Mitigates application bugs Client-side throttle CKErrorRetryAfterKey
59 Handling Conflicts
60 Handling Conflicts Party Attendees[]
61 Handling Conflicts Attendee Party Attendee Attendees[] Attendee
62 Handling Conflicts WWDC Bash A Attendees[]
63 Handling Conflicts WWDC Bash A Attendees[] WWDC Bash WWDC Bash A Attendees[] A Attendees[]
64 Handling Conflicts WWDC Bash A Attendees[] WWDC Bash WWDC Bash A Attendees[] A Attendees[]
65 Handling Conflicts WWDC Bash Attendee AB Attendees[] John WWDC Bash WWDC Bash B Attendees[] A Attendees[] Attendee John
66 Handling Conflicts WWDC Bash Attendee A AB Attendees[] John WWDC Bash WWDC Bash B Attendees[] Attendees[] Attendee Attendee John Alice
67 Handling Conflicts
68 Handling Conflicts CKErrorServerRecordChanged
69 Handling Conflicts CKErrorServerRecordChanged if let serverrecord = error.userinfo[ckrecordchangederrorserverrecordkey] as? CKRecord { }
70 Handling Conflicts CKErrorServerRecordChanged if let serverrecord = error.userinfo[ckrecordchangederrorserverrecordkey] as? CKRecord { } WWDC Bash Attendee B Attendees[] John
71 Handling Conflicts Key Record WWDC Bash Attendeee ServerRecordKey B Attendees[] John
72 Handling Conflicts Key Record WWDC Bash Attendeee ServerRecordKey B Attendees[] John AncestorRecordKey
73 Handling Conflicts Key Record WWDC Bash Attendeee ServerRecordKey B Attendees[] John WWDC Bash AncestorRecordKey A Attendees[]
74 Handling Conflicts Key Record WWDC Bash Attendeee ServerRecordKey B Attendees[] John WWDC Bash AncestorRecordKey A Attendees[] ClientRecordKey
75 Handling Conflicts Key Record WWDC Bash Attendeee ServerRecordKey B Attendees[] John WWDC Bash AncestorRecordKey A Attendees[] WWDC Bash Attendee ClientRecordKey A Attendees[] Alice
76 Handling Conflicts Key Record WWDC Bash Attendeee ServerRecordKey B Attendees[] John
77 Handling Conflicts Key Record WWDC Bash Attendeee ServerRecordKey B Attendees[] John WWDC Bash Attendeee B Attendees[] John
78 Handling Conflicts Key Record WWDC Bash Attendeee ServerRecordKey B Attendees[] John WWDC Bash Attendeee B Attendees[] John Attendee Alice
79 Handling Conflicts Attendee Party Attendee Attendees[] Attendee
80 Handling Conflicts Attendee Party Attendee Attendees[] Attendee
81 CloudKit Operations
82 Batch Operations Party
83 Batch Operations Photo Party Photo Photo
84 Batch Operations Photo Party Photo Photo
85 Batch Operations Convenience API Counterpart extension CKDatabase { func saverecord(record: CKRecord, completionhandler: (CKRecord?, NSError?) -> Void) }
86 Convenience API Accounts New icloud News Parties Photos Reviews ios
87 Convenience API Accounts New icloud News Parties Photos Reviews ios
88 Convenience API Accounts New icloud News Parties Photos Reviews saverecord: ios
89 Convenience API Accounts New icloud News Parties Photos Reviews saverecord: saverecord: ios
90 Convenience API Accounts New icloud News Parties Photos Reviews saverecord: saverecord: ios
91 Convenience API Accounts New icloud News Parties Photos Reviews saverecord: saverecord: ios
92 Batch Operations CKOperation recap extension CKDatabase { func saverecord(record: CKRecord, completionhandler: (CKRecord?, NSError?) -> Void) }
93 Batch Operations CKOperation recap extension CKDatabase { func saverecord(record: CKRecord, completionhandler: (CKRecord?, NSError?) -> Void) } class CKModifyRecordsOperation : CKDatabaseOperation { init() convenience init(recordstosave: [CKRecord]?, recordidstodelete: [CKRecordID]?) }
94 Batch Operations Accounts New icloud News Parties Photos Reviews ios
95 Batch Operations Accounts New icloud News Parties Photos Reviews ios
96 Batch Operations Accounts New icloud News Parties Photos Reviews CKModifyRecordsOperation [ ] ios
97 Batch Operations Accounts New icloud News Parties Photos Reviews CKModifyRecordsOperation [ ] ios
98 Batch Operations Accounts New icloud News Parties Photos Reviews ios
99 Batch Operations Batch size limits
100 Batch Operations Batch size limits Server imposed limits
101 Batch Operations Batch size limits Server imposed limits Number of items per request
102 Batch Operations Batch size limits Server imposed limits Number of items per request Size of request
103 Batch Operations Batch size limits Server imposed limits Number of items per request Size of request CKErrorLimitExceeded
104 Batch Operations Partial errors
105 Batch Operations Partial errors CKErrorPartialFailure
106 Batch Operations Partial errors CKRecordID : CKError? CKErrorPartialFailure CKPartialErrorsByItemIDKey CKRecordID : CKErrorInvalidArguments CKRecordID : CKError?
107 Batch Operations Partial errors with atomic updates CKRecordID : CKErrorBatchRequestFailed CKErrorPartialFailure CKPartialErrorsByItemIDKey CKRecordID : CKErrorInvalidArguments CKRecordID : CKErrorBatchRequestFailed
108 Queries
109 Queries In ClownCentral
110 Queries In ClownCentral let query = CKQuery(recordType: "Photo", predicate: NSPredicate(format: "Party == %@", partyrecordid))
111 Queries In ClownCentral let query = CKQuery(recordType: "Photo", predicate: NSPredicate(format: "Party == %@", partyrecordid)) Parties may have a lot of photos
112 Queries In ClownCentral let query = CKQuery(recordType: "Photo", predicate: NSPredicate(format: "Party == %@", partyrecordid)) Parties may have a lot of photos Optimize download with CKQueryOperation
113 CKQueryOperation How many photos do we need? Accounts New News Parties Photos Reviews
114 CKQueryOperation How many photos do we need? let queryoperation = CKQueryOperation queryoperation.resultslimit = 20 Accounts New News Parties Photos Reviews
115 CKQueryOperation How many photos do we need? let queryoperation = CKQueryOperation queryoperation.resultslimit = 20 Accounts New Also available on: News Parties Photos Reviews
116 CKQueryOperation How many photos do we need? let queryoperation = CKQueryOperation queryoperation.resultslimit = 20 Accounts New Also available on: CKFetchRecordChangesOperation News Parties Photos Reviews
117 CKQueryOperation How many photos do we need? let queryoperation = CKQueryOperation queryoperation.resultslimit = 20 Accounts New Also available on: CKFetchRecordChangesOperation CKFetchNotificationChangesOperation News Parties Photos Reviews
118 CKQueryOperation What kind of photo do we need? Photo Accounts New News Parties Photos Reviews
119 CKQueryOperation What kind of photo do we need? Photo Accounts New News Parties Photos Reviews
120 CKQueryOperation What kind of photo do we need? Photo Accounts New photoasset = News Parties Photos Reviews
121 CKQueryOperation What kind of photo do we need? Photo Accounts New photoasset = photothumbnail = News Parties Photos Reviews
122 CKQueryOperation What kind of photo do we need? Accounts New News Parties Photos Reviews
123 CKQueryOperation What kind of photo do we need? let queryoperation = CKQueryOperation queryoperation.desiredkeys = ["photothumbnail"] Accounts New News Parties Photos Reviews
124 CKQueryOperation What kind of photo do we need? let queryoperation = CKQueryOperation queryoperation.desiredkeys = ["photothumbnail"] Accounts New Also available on: News Parties Photos Reviews
125 CKQueryOperation What kind of photo do we need? let queryoperation = CKQueryOperation queryoperation.desiredkeys = ["photothumbnail"] Accounts New Also available on: CKFetchRecordsOperation News Parties Photos Reviews
126 CKQueryOperation What kind of photo do we need? let queryoperation = CKQueryOperation queryoperation.desiredkeys = ["photothumbnail"] Accounts New Also available on: CKFetchRecordsOperation CKFetchRecordChangesOperation News Parties Photos Reviews
127 CKQueryOperation Fetching in order Accounts New News Parties Photos Reviews
128 CKQueryOperation Fetching in order let bycreation = NSSortDescriptor(key: "creationdate", query.sortdescriptors = [bycreation] ascending: false) Accounts New News Parties Photos Reviews
129 CKQueryOperation Fetching in order let bycreation = NSSortDescriptor(key: "creationdate", query.sortdescriptors = [bycreation] ascending: false) Accounts New System field sort News Parties Photos Reviews
130 CKQueryOperation Fetching in order let bycreation = NSSortDescriptor(key: "creationdate", query.sortdescriptors = [bycreation] ascending: false) Accounts New System field sort Configure via icloud Dashboard News Parties Photos Reviews
131 CKQueryOperation What about the rest? Accounts New News Parties Photos Reviews
132 CKQueryOperation What about the rest? Pagination Accounts New News Parties Photos Reviews
133 CKQueryOperation What about the rest? Pagination var querycompletionblock: ((CKQueryCursor?, NSError?) -> Void)? Accounts New News Parties Photos Reviews
134 CKQueryOperation What about the rest? Pagination var querycompletionblock: ((CKQueryCursor?, NSError?) -> Void)? Accounts New convenience init(cursor: CKQueryCursor) News Parties Photos Reviews
135 Maintaining a Local Cache
136 Little Data, Many Clients
137 Little Data, Many Clients Personal notes for parties
138 Little Data, Many Clients Personal notes for parties Private database
139 Little Data, Many Clients Personal notes for parties Private database Offline use
140 Little Data, Many Clients Personal notes for parties Private database Offline use Small amount of data needed on all devices
141 Private Database Downloads
142 Private Database Downloads let noteszone = CKRecordZone(zoneName: "NotesZone")
143 Private Database Downloads let noteszone = CKRecordZone(zoneName: "NotesZone") Two main ways:
144 Private Database Downloads let noteszone = CKRecordZone(zoneName: "NotesZone") Two main ways: CKQueryOperation
145 Private Database Downloads let noteszone = CKRecordZone(zoneName: "NotesZone") Two main ways: CKQueryOperation Delta downloads using CKFetchRecordChangesOperation
146 Private Database Downloads let noteszone = CKRecordZone(zoneName: "NotesZone") Two main ways: CKQueryOperation Delta downloads using CKFetchRecordChangesOperation - Custom zone with CKRecordZoneCapabilityFetchChanges
147 Storing Data Locally App objects Party PartyName My Party Local Store PartyDate June 11, 2015 PartyNotes <TextBlob>
148 Storing Data Locally App objects Party PartyName My Party Local Store PartyDate June 11, 2015 PartyNotes <TextBlob>
149 Storing Data Locally CKRecord Party Record ID FDFE ChangeTag A Local Store PartyName My Party PartyDate June 11, 2015 PartyNotes <TextBlob>
150 Storing Data Locally CKRecord Party Record ID FDFE ChangeTag A Local Store PartyName My Party PartyDate June 11, 2015 PartyNotes <TextBlob>
151 Storing Data Locally CKRecord Party Record ID FDFE ChangeTag A Local Store PartyName My Party PartyDate June 11, 2015 PartyNotes <TextBlob>
152 Storing Records Locally Archiving system fields let record = let archiveddata = NSMutableData() let archiver = NSKeyedArchiver(forWritingWithMutableData: archiveddata) archiver.requiressecurecoding = true record.encodesystemfieldswithcoder(archiver) archiver.finishencoding()
153 Storing Records Locally Archiving system fields Party Record ID FDFE ChangeTag A Local Store PartyName My Party PartyDate June 11, 2015 PartyNotes <TextBlob>
154 Storing Records Locally Archiving system fields Party Record ID FDFE ChangeTag A Local Store PartyName My Party PartyDate June 11, 2015 PartyNotes <TextBlob>
155 Storing Records Locally Archiving system fields Party Record ID FDFE ChangeTag A Local Store PartyName My Party PartyDate June 11, 2015 PartyNotes <TextBlob>
156 Storing Records Locally Unarchiving system fields let record = let archiveddata = NSMutableData() let archiver = NSKeyedArchiver(forWritingWithMutableData: archiveddata) archiver.requiressecurecoding = true record.encodesystemfieldswithcoder(archiver) archiver.finishencoding()
157 Storing Records Locally Unarchiving system fields let record = let archiveddata = NSMutableData() let archiver = NSKeyedArchiver(forWritingWithMutableData: archiveddata) archiver.requiressecurecoding = true record.encodesystemfieldswithcoder(archiver) archiver.finishencoding() let unarchiver = NSKeyedUnarchiver(forReadingWithData: archiveddata) unarchiver.requiressecurecoding = true let unarchivedrecord = CKRecord(coder: unarchiver)
158 Storing Records Locally Unarchiving system fields Party Local Store
159 Storing Records Locally Unarchiving system fields Party Local Store
160 Storing Records Locally Unarchiving system fields Party Record ID FDFE Local Store ChangeTag A
161 Storing Records Locally Unarchiving system fields Party Record ID FDFE Local Store ChangeTag A PartyName
162 Storing Records Locally Unarchiving system fields Party Record ID FDFE Local Store ChangeTag A PartyName WWDC Bash
163 Storing Records Locally Unarchiving system fields Party Record ID FDFE Local Store ChangeTag A PartyName WWDC My Party Bash
164 Storing Records Locally Unarchiving system fields Party Record ID FDFE ChangeTag A PartyName WWDC My Party Bash Local Store
165 Efficiently Fetching Changes
166 Efficiently Fetching Changes CKFetchRecordChangesOperation
167 Efficiently Fetching Changes CKFetchRecordChangesOperation Notifications using CKSubscription
168 Efficiently Fetching Changes CKFetchRecordChangesOperation Notifications using CKSubscription Silent notifications
169 Subscriptions
170 Subscription Recap What is it? 1
171 Subscription Recap What is it? Persistent queries on the server 1
172 Subscription Recap What is it? Persistent queries on the server Remote notification per relevant change 1
173 Subscription Recap What is it? Persistent queries on the server Remote notification per relevant change 1 Query subscriptions
174 Subscription Recap What is it? Persistent queries on the server Remote notification per relevant change 1 Query subscriptions Zone subscriptions
175 Subscription Recap Setup
176 Subscription Recap Setup APS capability managed from Developer Portal
177 Subscription Recap Setup APS capability managed from Developer Portal aps-environment entitlement
178 Subscription Recap Setup APS capability managed from Developer Portal aps-environment entitlement Registration via UIApplication
179 Subscription Recap Setup APS capability managed from Developer Portal aps-environment entitlement Registration via UIApplication registerforremotenotifications()
180 Subscription Recap Setup APS capability managed from Developer Portal aps-environment entitlement Registration via UIApplication registerforremotenotifications() registerusernotificationsettings(notificationsettings: UIUserNotificationSettings)
181 CloudKit Push Priorities
182 CloudKit Push Priorities High priority push if CKNotificationInfo sets:
183 CloudKit Push Priorities High priority push if CKNotificationInfo sets: alertbody
184 CloudKit Push Priorities High priority push if CKNotificationInfo sets: alertbody shouldbadge
185 CloudKit Push Priorities High priority push if CKNotificationInfo sets: alertbody shouldbadge soundname
186 CloudKit Push Priorities High priority push if CKNotificationInfo sets: alertbody shouldbadge soundname Medium priority or silent otherwise
187 Silent Push Notifications How do I get one?
188 Silent Push Notifications How do I get one? 1. Remote notification background mode
189 Silent Push Notifications How do I get one? 1. Remote notification background mode
190 Silent Push Notifications How do I get one?
191 Silent Push Notifications How do I get one? 2. func application(application: UIApplication, didreceiveremotenotification: [NSObject : AnyObject], fetchcompletionhandler: (UIBackgroundFetchResult) -> Void) { }
192 Silent Push Notifications How do I get one?
193 Silent Push Notifications How do I get one? 3. CKNotificationInfo
194 Silent Push Notifications How do I get one? 3. CKNotificationInfo shouldsendcontentavailable = true
195 Silent Push Notifications How do I get one? 3. CKNotificationInfo shouldsendcontentavailable = true No alertbody, shouldbadge or soundname
196 Silent Push Notifications
197 Silent Push Notifications
198 Silent Push Notifications System opportune time
199 Silent Push Notifications System opportune time Push delivery is best-effort
200 Silent Push Notifications System opportune time Push delivery is best-effort May get dropped or coalesced
201 Silent Push Notifications
202 Silent Push Notifications Sync notification collection
203 Silent Push Notifications Sync notification collection CKFetchNotificationChangesOperation
204 Silent Push Notifications Sync notification collection CKFetchNotificationChangesOperation Background task API:
205 Silent Push Notifications Sync notification collection CKFetchNotificationChangesOperation Background task API: class UIApplication : UIResponder { func beginbackgroundtaskwithname(taskname: String?, expirationhandler: (() -> Void)?) -> UIBackgroundTaskIdentifier }
206 Interactive Notifications
207 Interactive Notifications WWDC15 1m ago WWDC Bash starting soon! Join Ignore
208 Interactive Notifications class CKNotificationInfo : NSObject, { var category: String? } WWDC15 1m ago WWDC Bash starting soon! Join Ignore
209 Interactive Notifications class CKNotificationInfo : NSObject, { var category: String? } See UIMutableUserNotificationCategory WWDC15 1m ago WWDC Bash starting soon! Join Ignore
210 CloudKit Performance Tips
211 Managing Dependent Tasks
212 Managing Dependent Tasks CloudKit API is asynchronous
213 Managing Dependent Tasks CloudKit API is asynchronous Task dependencies are common
214 Managing Dependent Tasks CloudKit API is asynchronous Task dependencies are common Goals:
215 Managing Dependent Tasks CloudKit API is asynchronous Task dependencies are common Goals: Error handling
216 Managing Dependent Tasks CloudKit API is asynchronous Task dependencies are common Goals: Error handling UI performance
217 Managing Dependent Tasks CloudKit API is asynchronous Task dependencies are common Goals: Error handling UI performance Maintainability
218 Managing Dependent Tasks Nesting convenience API calls
219 Managing Dependent Tasks Nesting convenience API calls database.fetchrecordwithid(recordid, { record, error in database.fetchrecordwithid(otherrecordid, { otherrecord, othererror in database.saverecord(otherrecord, { savedrecord, anothererror in }) }) }
220 Managing Dependent Tasks Nesting convenience API calls database.fetchrecordwithid(recordid, { record, error in database.fetchrecordwithid(otherrecordid, { otherrecord, othererror in database.saverecord(otherrecord, { savedrecord, anothererror in }) }) }
221 Managing Dependent Tasks Making operations synchronous
222 Managing Dependent Tasks Making operations synchronous let sema = dispatch_semaphore_create(0) database.fetchrecordwithid(recordid, { record, error in dispatch_semaphore_signal(sema) } dispatch_semaphore_wait(sema, DISPATCH_TIME_FOREVER) database.fetchrecordwithid(someotherrecordid, { otherrecord, othererror in })
223 Managing Dependent Tasks Making operations synchronous let sema = dispatch_semaphore_create(0) database.fetchrecordwithid(recordid, { record, error in dispatch_semaphore_signal(sema) } dispatch_semaphore_wait(sema, DISPATCH_TIME_FOREVER) database.fetchrecordwithid(someotherrecordid, { otherrecord, othererror in })
224 Managing Dependent Tasks NSOperation dependencies
225 Managing Dependent Tasks NSOperation dependencies class NSOperation : NSObject { func adddependency(op: NSOperation) func removedependency(op: NSOperation) var dependencies: [NSOperation] { get } }
226 Managing Dependent Tasks NSOperation dependencies
227 Managing Dependent Tasks NSOperation dependencies let firstfetch = CKFetchRecordsOperation( ) let secondfetch = CKFetchRecordsOperation( ) secondfetch.adddependency(firstfetch) let queue = NSOperationQueue() queue.addoperations([firstfetch, secondfetch], waituntilfinished: false)
228 NSOperation Quality of Service
229 NSOperation Quality of Service class NSOperation : NSObject 8.0, *) var qualityofservice: NSQualityOfService }
230 NSOperation Quality of Service class NSOperation : NSObject 8.0, *) var qualityofservice: NSQualityOfService } enum NSQualityOfService : Int { case UserInteractive case UserInitiated case Utility case Background case Default }
231 Discretionary Networking
232 Discretionary Networking Non-user-initiated tasks
233 Discretionary Networking Non-user-initiated tasks Example: pre-fetching content
234 Discretionary Networking Non-user-initiated tasks Example: pre-fetching content System waits for an opportune time:
235 Discretionary Networking Non-user-initiated tasks Example: pre-fetching content System waits for an opportune time: Wi-Fi vs. cellular
236 Discretionary Networking Non-user-initiated tasks Example: pre-fetching content System waits for an opportune time: Wi-Fi vs. cellular Power conditions
237 Discretionary Networking Non-user-initiated tasks Example: pre-fetching content System waits for an opportune time: Wi-Fi vs. cellular Power conditions class CKOperation : NSOperation { var usesbackgroundsession: Bool }
238 CKOperation Quality of Service
239 CKOperation Quality of Service usesbackgroundsession is deprecated
240 CKOperation Quality of Service usesbackgroundsession is deprecated Use qualityofservice
241 CKOperation Quality of Service usesbackgroundsession is deprecated Use qualityofservice Non-discretionary QoS:
242 CKOperation Quality of Service usesbackgroundsession is deprecated Use qualityofservice Non-discretionary QoS:.UserInteractive and.userinitiated
243 CKOperation Quality of Service usesbackgroundsession is deprecated Use qualityofservice Non-discretionary QoS:.UserInteractive and.userinitiated Discretionary QoS:
244 CKOperation Quality of Service usesbackgroundsession is deprecated Use qualityofservice Non-discretionary QoS:.UserInteractive and.userinitiated Discretionary QoS:.Utility
245 CKOperation Quality of Service usesbackgroundsession is deprecated Use qualityofservice Non-discretionary QoS:.UserInteractive and.userinitiated Discretionary QoS:.Utility.Background (default)
246 Advanced NSOperations Where can I learn more? Advanced NSOperations Presidio Friday 9:00AM
247 Summary
248 Summary Error handling is vital
249 Summary Error handling is vital Batch requests
250 Summary Error handling is vital Batch requests Schema trade-offs
251 Summary Error handling is vital Batch requests Schema trade-offs Configure CKOperations for performance
252 More Information Documentation CloudKit Resources developer.apple.com/cloudkit Technical Support Apple Developer Forums devforums.apple.com Developer Technical Support developer.apple.com/support/technical General Inquiries
253 Related Sessions What s New in CloudKit Mission Tuesday 3:30PM CloudKit JS and Web Services Pacific Heights Wednesday 3:30PM
254 Related Lab CloudKit Lab Frameworks Lab D Friday 9:00AM
255
What 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 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 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 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 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 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 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 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 informationIntroducing the Contacts Framework
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
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 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 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 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 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 informationios 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 informationSettings. Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder
Settings Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder Mobile Application Development in ios 1 Outline In-app settings UserDefaults Device settings
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 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 informationWhat s New in Energy Debugging
#WWDC18 What s New in Energy Debugging Phillip Azar, Apple/Battery Life David Choi, Apple/Battery Life 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written
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 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 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 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 informationWhat's New in Foundation Networking
Core OS #WWDC14 What's New in Foundation Networking Session 707 Steve Algernon Senior Wrangler 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
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 informationGame Center Techniques, Part 1
Game Center Techniques, Part 1 Get Your Game On Gabriel Belinsky Senior Software Engineer 2 Game Center Friends Leaderboards Achievements Multiplayer gaming 3 What You ll Learn Game Center API basics Authenticate
More informationWriting Energy Efficient Code
Core OS #WWDC14 Writing Energy Efficient Code Part 1 Session 710 Anthony Chivetta OS X Performance & Power 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 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 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 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 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 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 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 informationAnnouncements. Lab 3 is due on Wednesday by 11:59 PM
Announcements Lab 3 is due on Wednesday by 11:59 PM Extensible Networking Platform 1 1 - CSE 438 Mobile Application Development Today s Topics Property Lists iphone s File System Archiving Objects SQLite
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 informationXcode 6 and ios 8 What s New for Software Developers
Xcode 6 and ios 8 What s New for Software Developers August 2014 Norman McEntire! norman.mcentire@servin.com Slides and Video of this presentation will be posted on Tuesday Aug 26 here: http://servin.com!1
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 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 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 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 informationView Controller Advancements for ios8
Frameworks #WWDC14 View Controller Advancements for ios8 Session 214 Bruce D. Nilo Manager, UIKit Fundamentals 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without
More informationStanford CS193p. Developing Applications for ios. Fall Stanford CS193p. Fall 2011
Developing Applications for ios Today icloud Sharing documents among a user s devices Fundamentally: nothing more than a URL of a shared directory However, since it is over the network, there are lots
More informationWhat s New in Core Location
Core OS What s New in Core Location Session 706 Stephen Rhee Engineering Manager 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple.
More informationWhat s New in SpriteKit
Graphics and Games #WWDC16 What s New in SpriteKit Session 610 Ross Dexter Games Technologies Engineer Clément Boissière Games Technologies Engineer 2016 Apple Inc. All rights reserved. Redistribution
More informationUnderstanding Undefined Behavior
Session Developer Tools #WWDC17 Understanding Undefined Behavior 407 Fred Riss, Clang Team Ryan Govostes, Security Engineering and Architecture Team Anna Zaks, Program Analysis Team 2017 Apple Inc. All
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 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 informationEngineering for Testability
Session Developer Tools #WWDC17 Engineering for Testability 414 Brian Croom, Xcode Engineer Greg Tracy, Xcode Engineer 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted
More informationCareCarma. It Starts With Family
CareCarma It Starts With Family 3. INTRODUCTION 3. How can CareCarma Help You? 3. CareCarma Home Page 4. CareCarma CareCircle 4. CareCarma CareCircle Tools 5. Work on Different Plattforms 6. GETTING STARTED
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 informationLeveraging Touch Input on ios
App Frameworks #WWDC16 Leveraging Touch Input on ios And getting the most out of Apple Pencil Session 220 Dominik Wagner UIKit Engineer 2016 Apple Inc. All rights reserved. Redistribution or public display
More informationWhat s New in ARKit 2
Session #WWDC18 What s New in ARKit 2 602 Arsalan Malik, ARKit Engineer Reinhard Klapfer, ARKit Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written
More informationStanford CS193p. Developing Applications for ios. Fall CS193p. Fall
Stanford Developing Applications for ios Today Emoji Art Demo continued UITextField to add more Emoji Persistence UserDefaults Property List Archiving and Codable Filesystem Core Data Cloud Kit UIDocument
More informationTungsten Security Whitepaper
Tungsten Labs UG (haftungsbeschränkt) Email: contact@tungsten-labs.com Web: http://tungsten-labs.com Monbijouplatz 5, 10178 Berlin Tungsten Security Whitepaper Berlin, May 2018 Version 1 Contents Introduction
More informationCarPlay Audio and Navigation Apps
#WWDC18 CarPlay Audio and Navigation Apps Tunes and turns Jonathan Hersh, ios Car Experience Albert Wan, ios Car Experience Mike Knippers, ios Car Experience 2018 Apple Inc. All rights reserved. Redistribution
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 informationWhat s New in Device Configuration, Deployment, and Management
Session Distribution #WWDC17 What s New in Device Configuration, Deployment, and Management 304 Todd Fernandez, Senior Manager, Device Management and Server 2017 Apple Inc. All rights reserved. Redistribution
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 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 informationWhat s New in Audio. Media #WWDC17. Akshatha Nagesh, AudioEngine-eer Béla Balázs, Audio Artisan Torrey Holbrook Walker, Audio/MIDI Black Ops
Session Media #WWDC17 What s New in Audio 501 Akshatha Nagesh, AudioEngine-eer Béla Balázs, Audio Artisan Torrey Holbrook Walker, Audio/MIDI Black Ops 2017 Apple Inc. All rights reserved. Redistribution
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 informationlecture 10 UI/UX and Programmatic Design cs : spring 2018
lecture 10 UI/UX and Programmatic Design cs198-001 : spring 2018 1 Announcements custom app progress form due before lab (~1 minute) will be released after lecture only 2 labs left (both very important)
More informationUsing HTML5 Offline Storage. Brady Eidson Safari and WebKit Engineer
Using HTML5 Offline Storage Brady Eidson Safari and WebKit Engineer 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 So what can I do without the cloud? 22 What You ll Learn Make apps accessible offline
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 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 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 informationSynchronizing Your PC
Synchronizing Your PC A Guide to -- 2018 APCUG Spring VTC AN INTERNATIONAL ASSOCIATION OF TECHNOLOGY AND COMPUTER USER GROUPS Introduction There are numerous ways to sync desktops, laptops, tablets and
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 informationAlfresco Content Services 5.2. Getting Started Guide
Alfresco Content Services 5.2 Getting Started Guide Contents Contents Getting started with Alfresco Share... 3 Signing in...3 Personalizing Alfresco Share... 4 Setting up your dashboard... 4 Updating your
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 informationHow do I configure my Roqos Core to work with a Verizon FIOS router?
Getting Started How do I configure my Roqos Core to work with a Verizon FIOS router? A modem and wireless router come together in a Verizon FIOS router. Please refer to the instructions within the article
More informationScience-as-a-Service
Science-as-a-Service The iplant Foundation Rion Dooley Edwin Skidmore Dan Stanzione Steve Terry Matthew Vaughn Outline Why, why, why! When duct tape isn t enough Building an API for the web Core services
More informationSprint 1 Planning Document
Sprint 1 Planning Document Team 2 (Lounge) Spencer Brown, Roy Fu, Smita Samanta, Evan Walsh, Miranda Mott, Ben Alderfer Table of Contents Sprint Overview 1 Current Sprint Detail 2-7 User Story #1 2 User
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 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 SiriKit. Hey Siri, say hello to apps #WWDC16. App Frameworks. Session 217
App Frameworks #WWDC16 Introducing SiriKit Hey Siri, say hello to apps Session 217 Robby Walker SiriKit Engineering Brandon Newendorp SiriKit Engineering Corey Peterson SiriKit Design 2016 Apple Inc. All
More information