Writing Energy Efficient Apps
|
|
- Anastasia Jordan
- 6 years ago
- Views:
Transcription
1 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 or public display not permitted without written permission from Apple.
2
3
4
5 Battery Life Concepts Energy Efficient Coding Energy Debugging Tools and Demo Final Thoughts
6 General Battery Life Concepts
7 What Is Energy? Power Time
8 What Is Energy? Active Active Power Overhead Overhead Idle Time
9 What Is Energy? Active Active Power Overhead Overhead Energy Idle Time
10 What Is Energy? Active Your work Overhead Active Power Overhead Overhead Dynamic cost Fixed cost Idle Time
11 Balancing Power and Battery Life
12 Balancing Power and Battery Life
13 What Consumes Energy?
14 What Consumes Energy? Processing Networking Location Graphics
15 How to Reduce Energy Consumption Identify Optimize Coalesce Reduce
16 Energy Efficient Coding
17
18 Social Networking App Main feed Post a photo Analytics
19 Social Networking App Main Feed Current implementation Reloads on a timer
20 Social Networking App Energy Impact Feed Refresh Power Time
21 Social Networking App Energy Impact Feed Refresh Power Time
22 Social Networking App Energy Impact Feed Refresh Radio cost Power Dynamic cost Overhead cost Time
23 Social Networking App Main Feed Reload only when needed User interaction Notification Use NSURLSession Default Session New: WaitsForConnectivity Cache
24 Social Networking App Energy Impact Feed Refresh Radio cost Power User Interaction Notification Dynamic cost Overhead cost Time
25 // Setup NSURLSession Default Session let config = URLSessionConfiguration.default() // Use WaitsForConnectivity config.waitsforconnectivity = true // NSURLSession Cache let cachesdirectoryurl = FileManager.default().urlsForDirectory(.cachesDirectory, indomains:.userdomainmask).first! let cacheurl = try! cachesdirectoryurl.appendingpathcomponent("mycache") var diskpath = cacheurl.path let cache = URLCache(memoryCapacity:16384, diskcapacity: , diskpath: diskpath) config.urlcache = cache config.requestcachepolicy =.useprotocolcachepolicy
26 // Setup NSURLSession Default Session let config = URLSessionConfiguration.default() // Use WaitsForConnectivity config.waitsforconnectivity = true // NSURLSession Cache let cachesdirectoryurl = FileManager.default().urlsForDirectory(.cachesDirectory, indomains:.userdomainmask).first! let cacheurl = try! cachesdirectoryurl.appendingpathcomponent("mycache") var diskpath = cacheurl.path let cache = URLCache(memoryCapacity:16384, diskcapacity: , diskpath: diskpath) config.urlcache = cache config.requestcachepolicy =.useprotocolcachepolicy
27 // Setup NSURLSession Default Session let config = URLSessionConfiguration.default() // Use WaitsForConnectivity config.waitsforconnectivity = true // NSURLSession Cache let cachesdirectoryurl = FileManager.default().urlsForDirectory(.cachesDirectory, indomains:.userdomainmask).first! let cacheurl = try! cachesdirectoryurl.appendingpathcomponent("mycache") var diskpath = cacheurl.path let cache = URLCache(memoryCapacity:16384, diskcapacity: , diskpath: diskpath) config.urlcache = cache config.requestcachepolicy =.useprotocolcachepolicy
28 // Setup NSURLSession Default Session let config = URLSessionConfiguration.default() // Use WaitsForConnectivity config.waitsforconnectivity = true // NSURLSession Cache let cachesdirectoryurl = FileManager.default().urlsForDirectory(.cachesDirectory, indomains:.userdomainmask).first! let cacheurl = try! cachesdirectoryurl.appendingpathcomponent("mycache") var diskpath = cacheurl.path let cache = URLCache(memoryCapacity:16384, diskcapacity: , diskpath: diskpath) config.urlcache = cache config.requestcachepolicy =.useprotocolcachepolicy
29 Social Networking App Posting a Photo Current implementation Send immediately Retry on failure
30 Social Networking App Energy Impact Send photo cost Radio cost Power Send Photo Timeout Dynamic cost Overhead cost Time
31 Social Networking App Energy Impact Send photo cost Radio cost Power Send Photo Timeout Retry Timeout Dynamic cost Overhead cost Time
32 Social Networking App Posting a Photo Use NSURLSession Default Session Minimize retries Set timeouts Batch Transactions When retry limit hit Use Background Session
33 Social Networking App Energy Impact Send photo cost Radio cost Power Send Photo Timeout Retry Timeout Create Background Session Dynamic cost Overhead cost Time
34 Social Networking App Sending analytics data Use NSURLSession Background Session Automatic retries Throughput monitoring Analytics Properties New - Start time - Workload size Discretionary
35 Social Networking App Sending analytics data Use NSURLSession Background Session Automatic retries Throughput monitoring Analytics Properties New - Start time - Workload size Discretionary
36 Social Networking Application Energy Impact Send analytics cost Other networking cost Radio cost Power Dynamic cost Overhead cost Time
37 Social Networking Application Energy Impact Send analytics cost Other networking cost Radio cost Power Dynamic cost Overhead cost Time
38 // Setup NSURLSession Background Session let config = URLSessionConfiguration.background(withIdentifier: "com.socialapp.background") let session = URLSession(configuration: config, delegate:, delegatequeue: ) // Set discretionary property config.discretionary = true // Create Request and Task var request = URLRequest(url: URL(string: " request.addvalue(" ", forhttpheaderfield: ) let task = session.downloadtask(with: request) // Set time window task.earliestbegindate = Date(timeIntervalSinceNow: 2 * 60 * 60) // Set workload size task.countofbytesclientexpectstosend = 80 task.countofbytesclientexpectstoreceive = 2048 task.resume()
39 // Setup NSURLSession Background Session let config = URLSessionConfiguration.background(withIdentifier: "com.socialapp.background") let session = URLSession(configuration: config, delegate:, delegatequeue: ) // Set discretionary property config.discretionary = true // Create Request and Task var request = URLRequest(url: URL(string: " request.addvalue(" ", forhttpheaderfield: ) let task = session.downloadtask(with: request) // Set time window task.earliestbegindate = Date(timeIntervalSinceNow: 2 * 60 * 60) // Set workload size task.countofbytesclientexpectstosend = 80 task.countofbytesclientexpectstoreceive = 2048 task.resume()
40 // Setup NSURLSession Background Session let config = URLSessionConfiguration.background(withIdentifier: "com.socialapp.background") let session = URLSession(configuration: config, delegate:, delegatequeue: ) // Set discretionary property config.discretionary = true // Create Request and Task var request = URLRequest(url: URL(string: " request.addvalue(" ", forhttpheaderfield: ) let task = session.downloadtask(with: request) // Set time window task.earliestbegindate = Date(timeIntervalSinceNow: 2 * 60 * 60) // Set workload size task.countofbytesclientexpectstosend = 80 task.countofbytesclientexpectstoreceive = 2048 task.resume()
41 Social Networking Application WatchOS Use background session for screen off work Complication updates Background app refresh Runtime when task completes
42 Networking Best Practices Identify Ensure transactions not repeated Optimize Use background session Coalesce Batch transactions Reduce Minimize retries
43
44 Location Best Practices Location APIs Continuous location Quick location update Region monitoring Visit monitoring Significant location change
45 Location Best Practices Continuous Location Navigate to a destination Continuous location updates Prevents device sleep Stop location updates Allows device to sleep
46 // Create location manager locationmanager = CLLocationManager() locationmanager.delegate = self locationmanager.requestwheninuseauthorization() // Set desired accuracy, auto-pause, and activity type appropriately locationmanager.desiredaccuracy = kcllocationaccuracythreekilometers locationmanager.pauseslocationupdatesautomatically = true locationmanager.activitytype = CLActivityTypeNavigation // Set allows background if its needed locationmanager.allowsbackgroundlocationupdates = true // Start location updates locationmanager.startupdatinglocation()
47 // Create location manager locationmanager = CLLocationManager() locationmanager.delegate = self locationmanager.requestwheninuseauthorization() // Set desired accuracy, auto-pause, and activity type appropriately locationmanager.desiredaccuracy = kcllocationaccuracythreekilometers locationmanager.pauseslocationupdatesautomatically = true locationmanager.activitytype = CLActivityTypeNavigation // Set allows background if its needed locationmanager.allowsbackgroundlocationupdates = true // Start location updates locationmanager.startupdatinglocation()
48 // Create location manager locationmanager = CLLocationManager() locationmanager.delegate = self locationmanager.requestwheninuseauthorization() // Set desired accuracy, auto-pause, and activity type appropriately locationmanager.desiredaccuracy = kcllocationaccuracythreekilometers locationmanager.pauseslocationupdatesautomatically = true locationmanager.activitytype = CLActivityTypeNavigation // Set allows background if its needed locationmanager.allowsbackgroundlocationupdates = true // Start location updates locationmanager.startupdatinglocation()
49 // Create location manager locationmanager = CLLocationManager() locationmanager.delegate = self locationmanager.requestwheninuseauthorization() // Set desired accuracy, auto-pause, and activity type appropriately locationmanager.desiredaccuracy = kcllocationaccuracythreekilometers locationmanager.pauseslocationupdatesautomatically = true locationmanager.activitytype = CLActivityTypeNavigation // Set allows background if its needed locationmanager.allowsbackgroundlocationupdates = true // Start location updates locationmanager.startupdatinglocation()
50 // Create location manager locationmanager = CLLocationManager() locationmanager.delegate = self locationmanager.requestwheninuseauthorization() // Set desired accuracy, auto-pause, and activity type appropriately locationmanager.desiredaccuracy = kcllocationaccuracythreekilometers locationmanager.pauseslocationupdatesautomatically = true locationmanager.activitytype = CLActivityTypeNavigation // Set allows background if its needed locationmanager.allowsbackgroundlocationupdates = true // Start location updates locationmanager.startupdatinglocation()
51 // Start location updates locationmanager.startupdatinglocation() // Get location updates // Disable background updates when no longer needed locationmanager.allowsbackgroundlocationupdates = false // Stop location when no longer needed locationmanager.stopupdatinglocation()
52 // Start location updates locationmanager.startupdatinglocation() // Get location updates // Disable background updates when no longer needed locationmanager.allowsbackgroundlocationupdates = false // Stop location when no longer needed locationmanager.stopupdatinglocation()
53 // Start location updates locationmanager.startupdatinglocation() // Get location updates // Disable background updates when no longer needed locationmanager.allowsbackgroundlocationupdates = false // Stop location when no longer needed locationmanager.stopupdatinglocation()
54 Location Best Practices Request location Get news based on current location Use quick location update locationmanager.requestlocation()
55 Location Best Practices Request location Get news based on current location Use quick location update locationmanager.requestlocation()
56 Location Best Practices Region monitoring Updating content when arriving at home Use region monitoring // Create the geographic region to be monitored. let georegion = CLCircularRegion(center: overlay.coordinate, radius: radius, identifier: identifier) locationmanager.startmonitoring(for: georegion)
57 Location Best Practices Region monitoring Updating content when arriving at home Use region monitoring // Create the geographic region to be monitored. let georegion = CLCircularRegion(center: overlay.coordinate, radius: radius, identifier: identifier) locationmanager.startmonitoring(for: georegion)
58 Location Best Practices Visit monitoring Updating content when arriving at frequently visited locations Use visit monitoring // Start monitoring locationmanager.startmonitoringvisits() // Stop monitoring when no longer needed locationmanager.stopmonitoringvisits()
59 Location Best Practices Visit monitoring Updating content when arriving at frequently visited locations Use visit monitoring // Start monitoring locationmanager.startmonitoringvisits() // Stop monitoring when no longer needed locationmanager.stopmonitoringvisits()
60 Location Best Practices Visit monitoring Updating content when arriving at frequently visited locations Use visit monitoring // Start monitoring locationmanager.startmonitoringvisits() // Stop monitoring when no longer needed locationmanager.stopmonitoringvisits()
61 Location Best Practices Significant location change Updating content based user location Use significant location change // Start monitoring locationmanager.startmonitoringsignificantlocationchanges() // Stop monitoring when no longer needed locationmanager.stopmonitoringsignificantlocationchanges()
62 Location Best Practices Significant location change Updating content based user location Use significant location change // Start monitoring locationmanager.startmonitoringsignificantlocationchanges() // Stop monitoring when no longer needed locationmanager.stopmonitoringsignificantlocationchanges()
63 Location Best Practices Significant location change Updating content based user location Use significant location change // Start monitoring locationmanager.startmonitoringsignificantlocationchanges() // Stop monitoring when no longer needed locationmanager.stopmonitoringsignificantlocationchanges()
64 Location Best Practices Identify: Accuracy level needed Optimize: Use alternatives to continuous location Reduce: Stop location when not used Coalesce: Defer location updates
65
66 Graphics Minimize screen updates Ensure screen updates provide needed changes Review blur usage Avoid placing blurs over updating elements
67 Graphics MacOS Minimize use of Discrete GPU Use Discrete GPU only when: Animation performance suffers Functionality isn't supported
68 Graphics MacOS Metal MTLCreateSystemDefaultDevice() Always uses Discrete GPU Use Integrated GPU when possible MTLCopyAllDevices - Select device with islowpower attribute set
69 Graphics MacOS OpenGL Make your app mux-aware by either: Adding NSSupportsAutomaticGraphicsSwitching to your info.plist Creating an OpenGL context with the automatic graphics switching attribute let attributes3 : [CGLPixelFormatAttribute] = [ kcglpfasupportsautomaticgraphicsswitching, kcglpfaallowofflinerenderers, CGLPixelFormatAttribute(0) ] CGLChoosePixelFormat(attributes3, &pix, &npix) CGLCreateContext(pPixelFmt, nil, &pcontext)
70 Graphics Best Practices Identify: Blur usage Optimize: Only use discrete GPU when needed (macos) Reduce: Minimize screen updates
71
72 Processing Best Practices Identify tasks Do work quickly and efficiently Avoid timers Set leeway
73 Background Processing Foregrounded Foreground work Background work Overhead Backgrounded Suspended Power Dynamic cost Fixed cost Idle Time
74 Background Processing Finish work quickly Use background app refresh Call completion handler
75 Background Processing ios PushKit API Now has completion handler Call after handling push func pushregistry(_ registry: PKPushRegistry, didreceiveincomingpushwith payload: PKPushPayload, fortype type: PKPushType, withcompletionhandler () -> Void) { // Process the incoming push payload here... } // Then signal that processing has completed completion()
76 Background Processing ios PushKit API Now has completion handler Call after handling push func pushregistry(_ registry: PKPushRegistry, didreceiveincomingpushwith payload: PKPushPayload, fortype type: PKPushType, withcompletionhandler () -> Void) { // Process the incoming push payload here... } // Then signal that processing has completed completion()
77 Background Processing Current Background work Overhead Incoming Push Power Suspended Dynamic cost Fixed cost Idle Time
78 Background Processing With Completion Handler Background work Overhead Incoming Push Completion Handler Power Dynamic cost Fixed cost Idle Time
79 Background Processing WatchOS New: Navigation background mode CPU limits like Workout Minimize networking Ensure work is relevant to the user Use background app refresh and complication updates to refresh data
80 Background Processing Identify: Work done in the background Optimize: Use Background App Refresh Reduce: Limit transactions Coalesce: Use NSURLSession background session
81 Battery Life Concepts Energy Efficient Coding Energy Debugging Tools and Demo Final Thoughts
82 Overview Energy debugging tools Measuring energy impact of your apps Demo
83 Settings: Battery
84 Settings: Battery Can be deleted by users
85 Energy Debugging Workflow Energy Gauges
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118 Scenarios for Energy Debugging General/common Launch and Idle Background Application specific For example, Navigation App - Search for an address - Get directions - Navigate
119 Demo
120 Battery Life Concepts Energy Efficient Coding Energy Debugging Tools and Demo Final Thoughts
121 Final Thoughts Use NSURLSession Background Session Minimize use of continuous location Avoid timers Coalesce work Use energy gauges
122 Related Sessions Advances in Networking, Part 1 Executive Ballroom Wednesday 3:00PM Advances in Networking, Part 2 Executive Ballroom Wednesday 4:00PM NSURLSession: New Features and Best Practices WWDC 2016 Networking for the Modern Internet WWDC 2016
123 Labs Power and Performance Lab Technology Lab I Fri 11:00AM 1:00PM
124
What 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 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 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 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 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 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 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 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 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 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 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 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 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 informationManaging Documents In Your ios Apps
Session #WWDC18 Managing Documents In Your ios Apps 216 Brandon Tennant, Software Engineer Thomas Deniau, Software Engineer Rony Fadel, Software Engineer 2018 Apple Inc. All rights reserved. Redistribution
More informationWhat s New in Core Bluetooth
Session System Frameworks #WWDC17 What s New in Core Bluetooth 712 Craig Dooley, Bluetooth Engineer Duy Phan, Bluetooth Engineer 2017 Apple Inc. All rights reserved. Redistribution or public display not
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 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 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 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 informationSensors. Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder
Sensors Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder Mobile Application Development in ios 1 Outline Sensor types Sensor availability Accessing
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 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 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 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 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 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 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 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 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 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 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 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 informationEffective Networking with Swift and ios 8
Effective Networking with Swift and ios 8 Ben Scheirman @subdigital ChaiOne Agenda Old and Crusty NSURLConnection New Hotness Live Demos! HTTP Caching Bonus Round: API Tips NSURLConnection Invented for
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 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 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 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 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 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 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 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 informationBuilding Visually Rich User Experiences
Session App Frameworks #WWDC17 Building Visually Rich User Experiences 235 Noah Witherspoon, Software Engineer Warren Moore, Software Engineer 2017 Apple Inc. All rights reserved. Redistribution or public
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 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 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 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 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 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 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 informationAdvances in TVMLKit. App Frameworks #WWDC17. Trevor Cortez, Localization Engineer Parry Panesar, tvos Engineer Jeremy Foo, tvos Engineer
Session App Frameworks #WWDC17 Advances in TVMLKit 202 Trevor Cortez, Localization Engineer Parry Panesar, tvos Engineer Jeremy Foo, tvos Engineer 2017 Apple Inc. All rights reserved. Redistribution or
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 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 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 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 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 informationBeyond Training The next steps of Machine Learning. Chris /in/chrisparsonsdev
Beyond Training The next steps of Machine Learning Chris Parsons chrisparsons@uk.ibm.com @chrisparsonsdev /in/chrisparsonsdev What is this talk? Part 1 What is Machine Learning? AI Infrastructure PowerAI
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 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 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 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 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 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 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 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 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 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 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 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 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 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 informationIntroducing Metal 2. Graphics and Games #WWDC17. Michal Valient, GPU Software Engineer Richard Schreyer, GPU Software Engineer
Session Graphics and Games #WWDC17 Introducing Metal 2 601 Michal Valient, GPU Software Engineer Richard Schreyer, GPU Software Engineer 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 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 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 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 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 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 informationIntroducing PDFKit on ios
Session App Frameworks #WWDC17 Introducing PDFKit on ios PDF on macos and ios 241 Jeremy Bridon, Software Engineer Nicki Brower, Software Engineer 2017 Apple Inc. All rights reserved. Redistribution or
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 informationHere Comes The Bus. Downloading The App Download the app from Google Play Store or from the Apple App Store
Here Comes The Bus Here Come The Bus Mobile App provides real time alerts of where the schoolbus is along its route. The mobile app allows users to lookup their student s bus stop location. Additionally,
More informationMobile Development Lab 3
Mobile Development Lab 3 Objectives Illustrate closures through examples Have fun with maps, location and geolocation Have fun with animations Closures implemented in Swift Closures are self-contained
More informationMigration Tool. User Guide. SHOPIFY to MAGENTO. Copyright 2014 LitExtension.com. All Rights Reserved.
SHOPIFY to MAGENTO Migration Tool User Guide Copyright 2014 LitExtension.com. All Rights Reserved. Shopify to Magento Migration Tool: User Guide Page 1 Contents 1. Preparation... 3 2. Set-up... 3 3. Set-up...
More informationSceneKit: What s New Session 604
Graphics and Games #WWDC17 SceneKit: What s New Session 604 Thomas Goossens, SceneKit engineer Amaury Balliet, SceneKit engineer Anatole Duprat, SceneKit engineer Sébastien Métrot, SceneKit engineer 2017
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 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 informationWhat s New in Swift Playgrounds
Session Developer Tools #WWDC17 What s New in Swift Playgrounds 408 Connor Wakamo, Playgrounds Engineer Grace Kendall, Playgrounds Engineer Najla Bulous, Playgrounds Engineer 2017 Apple Inc. All rights
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 informationSharepoint 2010 How Manually Update Web Analytics Workflows Timer Job
Sharepoint 2010 How Manually Update Web Analytics Workflows Timer Job The SharePoint 2010 Timer service (SPTimerv4) runs timer jobs. list depending on installed service pack version and cumulative updates
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 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 informationAVContentKeySession Best Practices
Session #WWDC18 AVContentKeySession Best Practices 507 Anil Katti, AVFoundation Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from
More informationMetal for Ray Tracing Acceleration
Session #WWDC18 Metal for Ray Tracing Acceleration 606 Sean James, GPU Software Engineer Wayne Lister, GPU Software Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted
More informationStream iphone Sensor Data to Adafruit IO
Stream iphone Sensor Data to Adafruit IO Created by Trevor Beaton Last updated on 2019-01-22 04:07:41 PM UTC Guide Contents Guide Contents Overview In this learn guide we will: Before we start... Downloading
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 informationITP 342 Mobile App Dev. Locations and Maps
ITP 342 Mobile App Dev Locations and Maps Locations and Maps Every ios device has the ability to determine where in the world it is Create a live interactive map showing any locations you like, including
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 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 informationJavaScript for Automation
Services #WWDC14 JavaScript for Automation Session 306 Sal Soghoian Product Manger Automation Technologies 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written
More informationContent Protection for HTTP Live Streaming
Media #WWDC15 Content Protection for HTTP Live Streaming Session 502 Roger Pantos HTTP Live Streaming Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without
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 information