What s New in MapKit. App Frameworks #WWDC17. Fredrik Olsson

Size: px
Start display at page:

Download "What s New in MapKit. App Frameworks #WWDC17. Fredrik Olsson"

Transcription

1 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.

2

3

4 MKMapView.mapType.standard

5 MKMapView.mapType.standard

6 MKMapView.mapType NEW.standard.mutedStandard

7

8

9 open class MKUserTrackingBarButtonItem : UIBarButtonItem { } init(mapview: MKMapView)

10 open class MKUserTrackingBarButtonItem : UIBarButtonItem { } init(mapview: MKMapView)

11 open class MKUserTrackingButton : UIView { } init(mapview: MKMapView) NEW

12 open class MKUserTrackingButton : UIView { } init(mapview: MKMapView) NEW open class MKCompassButton : UIView { init(mapview: MKMapView) compassvisibility: MKFeatureVisibility }

13 open class MKUserTrackingButton : UIView { } init(mapview: MKMapView) NEW open class MKCompassButton : UIView { init(mapview: MKMapView) compassvisibility: MKFeatureVisibility }

14 open class MKUserTrackingButton : UIView { } init(mapview: MKMapView) NEW open class MKCompassButton : UIView { init(mapview: MKMapView) compassvisibility: MKFeatureVisibility } public enum MKFeatureVisibility : Int { case adaptive case hidden case visible }

15 MKCompassButton.compassVisibility N N.hidden.visible.adaptive

16 MKCompassButton.compassVisibility N N.hidden.visible.adaptive

17 MKCompassButton.compassVisibility N N.hidden.visible.adaptive

18 MKCompassButton.compassVisibility N N.hidden.visible.adaptive

19 MKCompassButton.compassVisibility N N.hidden.visible.adaptive

20 MKCompassButton.compassVisibility N N.hidden.visible.adaptive

21 open class MKUserTrackingButton : UIView { } init(mapview: MKMapView) NEW open class MKCompassButton : UIView { init(mapview: MKMapView) compassvisibility: MKFeatureVisibility } open class MKScaleView : UIView { init(mapview: MKMapView) scalevisibility: MKFeatureVisibility legendalignment: MKScaleViewAlignment }

22 open class MKUserTrackingButton : UIView { } init(mapview: MKMapView) NEW open class MKCompassButton : UIView { init(mapview: MKMapView) compassvisibility: MKFeatureVisibility } open class MKScaleView : UIView { init(mapview: MKMapView) scalevisibility: MKFeatureVisibility legendalignment: MKScaleViewAlignment }

23 open class MKUserTrackingButton : UIView { } init(mapview: MKMapView) NEW open class MKCompassButton : UIView { init(mapview: MKMapView) compassvisibility: MKFeatureVisibility } open class MKScaleView : UIView { init(mapview: MKMapView) scalevisibility: MKFeatureVisibility legendalignment: MKScaleViewAlignment }

24 open class MKUserTrackingButton : UIView { } init(mapview: MKMapView) NEW open class MKCompassButton : UIView { init(mapview: MKMapView) compassvisibility: MKFeatureVisibility } open class MKScaleView : UIView { init(mapview: MKMapView) scalevisibility: MKFeatureVisibility legendalignment: MKScaleViewAlignment }

25 MKScaleView.legendAlignment.leading.trailing

26 MKScaleView.legendAlignment.leading.trailing

27 MKScaleView.legendAlignment.leading.trailing

28 MKScaleView.legendAlignment.leading.trailing

29 MKScaleView.legendAlignment

30

31

32 MKPinAnnotationView

33 Normal Selected

34 Normal Selected

35 Normal Selected

36 MKMarkerAnnotationView NEW Normal Selected

37 MKMarkerAnnotationView NEW Normal Selected

38 MKMarkerAnnotationView NEW Normal Selected

39 Normal Selected

40 Normal Selected

41 MKMarkerAnnotationView Normal Selected Selected with Callout

42 open class MKMarkerAnnotationView : MKAnnotationView { open var titlevisibility: MKFeatureVisibility open var subtitlevisibility: open var markertintcolor: open var glyphtintcolor: UIColor? open var glyphtext: open var glyphimage: open var selectedglyphimage: UIImage? } open var animateswhenadded: Bool

43 open class MKMarkerAnnotationView : MKAnnotationView { open var titlevisibility: MKFeatureVisibility open var subtitlevisibility: open var markertintcolor: open var glyphtintcolor: UIColor? open var glyphtext: open var glyphimage: open var selectedglyphimage: UIImage? } open var animateswhenadded: Bool

44 MKMarkerAnnotationView.titleVisibility.hidden.hidden

45 MKMarkerAnnotationView.titleVisibility.visible.visibile

46 MKMarkerAnnotationView.titleVisibility.adaptive.adaptive

47 open class MKMarkerAnnotationView : MKAnnotationView { open var titlevisibility: MKFeatureVisibility open var subtitlevisibility: open var markertintcolor: open var glyphtintcolor: UIColor? open var glyphtext: open var glyphimage: open var selectedglyphimage: UIImage? } open var animateswhenadded: Bool

48 MKMarkerAnnotationView.markerTintColor nil UIColor.orange UIColor.init(named: mycolor )

49 MKMarkerAnnotationView.markerTintColor nil UIColor.orange UIColor.init(named: mycolor )

50 MKMarkerAnnotationView.markerTintColor nil UIColor.orange UIColor.init(named: mycolor )

51 MKMarkerAnnotationView.markerTintColor NEW nil UIColor.orange UIColor.init(named: mycolor )

52 open class MKMarkerAnnotationView : MKAnnotationView { open var titlevisibility: MKFeatureVisibility open var subtitlevisibility: open var markertintcolor: open var glyphtintcolor: UIColor? open var glyphtext: open var glyphimage: open var selectedglyphimage: UIImage? } open var animateswhenadded: Bool

53 MKMarkerAnnotationView.glyphText nil A+

54 MKMarkerAnnotationView.glyphText nil A+

55 MKMarkerAnnotationView.glyphText nil A+

56 MKMarkerAnnotationView.glyphText nil A+

57 MKMarkerAnnotationView.glyphText A+ Hello World

58 open class MKMarkerAnnotationView : MKAnnotationView { open var titlevisibility: MKFeatureVisibility open var subtitlevisibility: open var markertintcolor: open var glyphtintcolor: UIColor? open var glyphtext: open var glyphimage: open var selectedglyphimage: UIImage? } open var animateswhenadded: Bool

59 MKMarkerAnnotationView.glyphImage

60 MKMarkerAnnotationView.glyphImage 40x40 pts

61 MKMarkerAnnotationView.glyphImage 40x40 pts

62 MKMarkerAnnotationView.glyphImage 20x20 pts 40x40 pts

63 MKMarkerAnnotationView.glyphImage 20x20 pts 40x40 pts

64 MKMarkerAnnotationView.glyphImage 20x20 pts 40x40 pts

65 .glyphimage.selectedglyphimage 20x20 pts 40x40 pts

66

67

68 open class MKAnnotationView : UIView { NEW open var displaypriority: MKFeatureDisplayPriority }

69 open class MKAnnotationView : UIView { NEW open var displaypriority: MKFeatureDisplayPriority } extension MKFeatureDisplayPriority { public static let required: MKFeatureDisplayPriority! public static let defaulthigh: MKFeatureDisplayPriority! public static let defaultlow: MKFeatureDisplayPriority! }

70 MKAnnotationView.displayPriority.required.defaultHigh.defaultLow

71 MKAnnotationView.displayPriority.required.defaultHigh.defaultLow

72 MKAnnotationView.displayPriority.required.defaultHigh.defaultLow

73 MKAnnotationView.displayPriority.required

74

75

76

77 open class MKAnnotationView : UIView { NEW open var clusteringidentifier: String? }

78 MKAnnotationView.clusteringIdentifier nil identifier

79 MKAnnotationView.clusteringIdentifier nil identifier

80 MKAnnotationView.clusteringIdentifier nil identifier

81 Demo Clustering and display priority

82

83

84

85 func mapview(_ mapview: MKMapView, viewfor annotation: MKAnnotation) -> MKAnnotationView? { if annotation is MKUserLocation { return nil } else { var view = mapview.dequeuereusableannotationview(withidentifier: "identifier") // setup the view return view } }

86 func mapview(_ mapview: MKMapView, viewfor annotation: MKAnnotation) -> MKAnnotationView? { if annotation is MKUserLocation { return nil } else { var view = mapview.dequeuereusableannotationview(withidentifier: "identifier") // setup the view return view } }

87 func mapview(_ mapview: MKMapView, viewfor annotation: MKAnnotation) -> MKAnnotationView? { if annotation is MKUserLocation { return nil } else { var view = mapview.dequeuereusableannotationview(withidentifier: "identifier") // setup the view return view } }

88 func mapview(_ mapview: MKMapView, viewfor annotation: MKAnnotation) -> MKAnnotationView? { if annotation is MKUserLocation { return nil } else if let cluster = annotation as? MKClusterAnnotation { var view = mapview.dequeuereusableannotationview(withidentifier: "cluster") // setup the view return view } else { var view = mapview.dequeuereusableannotationview(withidentifier: "bike") // setup the view return view } 3 } NEW

89 open class MKClusterAnnotation : NSObject, MKAnnotation { NEW open var title: String? open var subtitle: String? } open var memberannotations: [MKAnnotation] { get } public init(memberannotations: [MKAnnotation]) 3

90 open class MKClusterAnnotation : NSObject, MKAnnotation { NEW open var title: String? open var subtitle: String? } open var memberannotations: [MKAnnotation] { get } public init(memberannotations: [MKAnnotation]) 3

91 open class MKClusterAnnotation : NSObject, MKAnnotation { NEW open var title: String? open var subtitle: String? } open var memberannotations: [MKAnnotation] { get } public init(memberannotations: [MKAnnotation]) 3

92 func mapview(_ mapview: MKMapView, viewfor annotation: MKAnnotation) -> MKAnnotationView? { if annotation is MKUserLocation { return nil } else if let cluster = annotation as? MKClusterAnnotation { var view = mapview.dequeuereusableannotationview(withidentifier: "cluster") // setup the view return view } else { var view = mapview.dequeuereusableannotationview(withidentifier: "bike") // setup the view return view } } 3 NEW

93 2 3

94 2 3

95 2 3

96 open class MKAnnotationView : UIView { NEW open var collisionmode: MKAnnotationViewCollisionMode }

97 MKAnnotationView.collisionMode 3 2.rectangle

98 MKAnnotationView.collisionMode 3 2.circle

99 MKAnnotationView.collisionMode 2 3.circle

100 MKAnnotationView.collisionMode 3 2.rectangle

101 MKAnnotationView.collisionMode 3 2.circle

102 1 2

103 1 2

104 1 2

105 1 2

106 MKAnnotationView.collisionMode 1 2

107 MKAnnotationView.collisionMode 1 2.cirleInBottomLeftWithFivePointsVerticalOutset

108 MKAnnotationView.collisionMode 1 2

109 open class UIView : NSObject 6.0, *) open var alignmentrectinsets: UIEdgeInsets { get } } 2

110 class FlagAnnotationView : MKAnnotationView { } override var alignmentrectinsets: UIEdgeInsets { } return UIEdgeInsetsMake(50, 0, -5, 20) 2

111 class FlagAnnotationView : MKAnnotationView { } override var alignmentrectinsets: UIEdgeInsets { } return UIEdgeInsetsMake(50, 0, -5, 20) 2

112 class FlagAnnotationView : MKAnnotationView { } override var alignmentrectinsets: UIEdgeInsets { } return UIEdgeInsetsMake(50, 0, -5, 20) 2

113 class FlagAnnotationView : MKAnnotationView { } override var alignmentrectinsets: UIEdgeInsets { } return UIEdgeInsetsMake(50, 0, -5, 20) 2

114 class FlagAnnotationView : MKAnnotationView { } override var alignmentrectinsets: UIEdgeInsets { } return UIEdgeInsetsMake(50, 0, -5, 20) 2

115 class FlagAnnotationView : MKAnnotationView { } override var alignmentrectinsets: UIEdgeInsets { } return UIEdgeInsetsMake(50, 0, -5, 20) 2

116 class FlagAnnotationView : MKAnnotationView { } override var alignmentrectinsets: UIEdgeInsets { } return UIEdgeInsetsMake(50, 0, -5, 20) 2

117 1 2

118 1 2

119 Demo Custom annotation views

120 Summary Muted Standard Map Type New Map Controls Marker Annotation View Annotation Display Priority Annotation Clustering

121 Summary Muted Standard Map Type New Map Controls Marker Annotation View Annotation Display Priority Annotation Clustering

122 Summary Muted Standard Map Type New Map Controls Marker Annotation View Annotation Display Priority Annotation Clustering

123 Summary Muted Standard Map Type New Map Controls Marker Annotation View Annotation Display Priority Annotation Clustering

124 Summary Muted Standard Map Type New Map Controls Marker Annotation View Annotation Display Priority Annotation Clustering

125 More Information

126 Related Sessions What s New in Location Technologies WWDC 2017 What s New in MapKit WWDC 2015

127 Labs Location and Mapping Technologies Lab Technology Lab K Fri 10:00AM 12:00PM

128

What s New in imessage Apps

What 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 information

Using and Extending the Xcode Source Editor

Using 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 information

Mastering Drag and Drop

Mastering 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 information

What s New in tvos 12

What s New in tvos 12 #WWDC18 What s New in tvos 12 Session 208 Hans Kim, tvos Engineering 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. Agenda Agenda

More information

Create an App that will drop PushPins onto a map based on addresses that the user inputs.

Create an App that will drop PushPins onto a map based on addresses that the user inputs. Overview Create an App that will drop PushPins onto a map based on addresses that the user inputs. Part 1: Introduction to MKMapKit Part 2: Introduction to PushPins Part 3: Use Google s API to lookup an

More information

Using Grouped Notifications

Using 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 information

Touch Bar Fundamentals

Touch 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 information

What s New in watchos

What 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 information

Media and Gaming Accessibility

Media 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 information

Monetize and Promote Your App with iad

Monetize 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 information

ios Accessibility Developing for everyone Session 201 Ian Fisch ios Accessibility

ios Accessibility Developing for everyone Session 201 Ian Fisch ios Accessibility App Frameworks #WWDC15 ios Accessibility Developing for everyone Session 201 Ian Fisch ios Accessibility 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without written

More information

Data Delivery with Drag and Drop

Data 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 information

Building Mapping Apps for ios With Swift

Building Mapping Apps for ios With Swift Building Mapping Apps for ios With Swift Jeff Linwood This book is for sale at http://leanpub.com/buildingmappingappsforioswithswift This version was published on 2017-09-09 This is a Leanpub book. Leanpub

More information

Enhancing your apps for the next dimension of touch

Enhancing 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 information

What s New in ARKit 2

What 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 information

Advanced Notifications

Advanced 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 information

Advanced Scrollviews and Touch Handling Techniques

Advanced 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 information

What s New in Core Data?

What 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 information

imessage Apps and Stickers, Part 2

imessage 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 information

Implementing UI Designs in Interface Builder

Implementing 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 information

Creating Audio Apps for watchos

Creating 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 information

Extending Your Apps with SiriKit

Extending 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 information

Modern User Interaction on ios

Modern 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 information

Mastering UIKit on tvos

Mastering 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 information

Building for Voice with Siri Shortcuts

Building 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 information

Getting the Most out of Playgrounds in Xcode

Getting the Most out of Playgrounds in Xcode #WWDC18 Getting the Most out of Playgrounds in Xcode Session 402 Tibet Rooney-Rabdau, Xcode Engineer Alex Brown, Core OS Engineer TJ Usiyan, Xcode Engineer 2018 Apple Inc. All rights reserved. Redistribution

More information

Mysteries of Auto Layout, Part 1

Mysteries 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 information

Stanford CS193p. Developing Applications for ios. Fall Stanford CS193p. Fall 2011

Stanford CS193p. Developing Applications for ios. Fall Stanford CS193p. Fall 2011 Developing Applications for ios Today Core Location Finding out where the device is MapKit Showing the location of things on a map Demo MapKit Core Location Framework for managing location and heading

More information

What s New in Xcode App Signing

What 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 information

Building Apps with Dynamic Type

Building 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 information

Developing Applications for ios

Developing Applications for ios Developing Applications for ios Lecture 9: idevice Capabilities Radu Ionescu raducu.ionescu@gmail.com Faculty of Mathematics and Computer Science University of Bucharest Content Core Location: GPS + Compass

More information

New Ways to Work with Workouts

New 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 information

Leveraging Touch Input on ios

Leveraging 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 information

What s New in NSCollectionView Session 225

What 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 information

Core Data Best Practices

Core 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 information

Introducing Password AutoFill for Apps

Introducing 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 information

Accessibility on ios. Developing for everyone. Frameworks #WWDC14. Session 210 Clare Kasemset ios Accessibility

Accessibility 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 information

Cocoa Touch Best Practices

Cocoa 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 information

What s New in Cocoa for macos

What 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 information

Stanford CS193p. Developing Applications for iphone 4, ipod Touch, & ipad Fall Stanford CS193p Fall 2010

Stanford CS193p. Developing Applications for iphone 4, ipod Touch, & ipad Fall Stanford CS193p Fall 2010 Developing Applications for iphone 4, ipod Touch, & ipad Today Core Location Framework for specifying locations on the planet MapKit Graphical toolkit for displaying locations on the planet Core Location

More information

What s New in tvos #WWDC16. App Frameworks. Session 206. Hans Kim tvos Engineer

What 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 information

Accessibility on OS X

Accessibility 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 information

Introduction to Siri Shortcuts

Introduction 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 information

What s New in Testing

What 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 information

Why Using Location and Map? iphone Application Programming L12: Location and Maps. Why Using Location and Map? Determine where you are

Why Using Location and Map? iphone Application Programming L12: Location and Maps. Why Using Location and Map? Determine where you are Why Using Location and Map? iphone Application Programming L12: Location and Maps Chat Wacharamanotham Media Computing Group RWTH Aachen University Winter Semester 2013/2014 http://hci.rwth-aachen.de/iphone

More information

Creating Complications with ClockKit Session 209

Creating 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 information

Understanding Undefined Behavior

Understanding 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 information

Introducing Swift Playgrounds

Introducing Swift Playgrounds Developer Tools #WWDC16 Introducing Swift Playgrounds Exploring with Swift on ipad Session 408 Matt Patenaude Playgrounds Engineer Maxwell Swadling Playgrounds Engineer Jonathan Penn Playgrounds Engineer

More information

Engineering for Testability

Engineering 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 information

WatchKit In-Depth, Part 2

WatchKit 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 information

Getting the Most Out of HealthKit

Getting 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 information

Optimizing Swift Performance Session 409

Optimizing Swift Performance Session 409 Developer Tools #WWDC15 Optimizing Swift Performance Session 409 Nadav Rotem Manager, Swift Performance Team Michael Gottesman Engineer, Swift Performance Team Joe Grzywacz Engineer, Performance Tools

More information

Core ML in Depth. System Frameworks #WWDC17. Krishna Sridhar, Core ML Zach Nation, Core ML

Core 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 information

Quick Interaction Techniques for watchos

Quick 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 information

Stanford CS193p. Developing Applications for ios. Spring Stanford CS193p. Spring 2012

Stanford CS193p. Developing Applications for ios. Spring Stanford CS193p. Spring 2012 Developing Applications for ios Today File System How to access files the device Core Location Finding out where the device is MapKit Showing the location of things on a map Demo MapKit File System 1.

More information

Getting Started with CareKit

Getting Started with CareKit App Frameworks #WWDC16 Getting Started with CareKit Session 237 Umer Khan Software Engineer 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission

More information

What's New in UIKit Dynamics and Visual Effects Session 229

What'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 information

What s New in HomeKit

What 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 information

Finding Bugs Using Xcode Runtime Tools

Finding 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 information

Advances in AVFoundation Playback

Advances 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 information

Seamless Linking to Your App

Seamless 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 information

Automatic Strong Passwords and Security Code AutoFill

Automatic Strong Passwords and Security Code AutoFill Session #WWDC18 Automatic Strong Passwords and Security Code AutoFill 204 Chelsea Pugh, ios Engineer Reza Abbasian, ios Engineer Harris Papadopoulos, ios Engineer 2018 Apple Inc. All rights reserved. Redistribution

More information

What s New in Foundation for Swift Session 207

What 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 information

What s New in Core Bluetooth

What 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 information

CarPlay Audio and Navigation Apps

CarPlay 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 information

Enabling Your App for CarPlay

Enabling Your App for CarPlay Session App Frameworks #WWDC17 Enabling Your App for CarPlay 719 Albert Wan, CarPlay Engineering 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission

More information

Improving your Existing Apps with Swift

Improving 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 information

ios Memory Deep Dive #WWDC18 Kyle Howarth, Software Engineer James Snee, Software Engineer Kris Markel, Software Engineer

ios Memory Deep Dive #WWDC18 Kyle Howarth, Software Engineer James Snee, Software Engineer Kris Markel, Software Engineer Session #WWDC18 ios Memory Deep Dive 416 Kyle Howarth, Software Engineer James Snee, Software Engineer Kris Markel, Software Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display

More information

CloudKit Tips And Tricks

CloudKit 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 information

Cocoa Development Tips

Cocoa Development Tips Session App Frameworks #WWDC17 Cocoa Development Tips Twenty-nine things you may not know about Cocoa 236 Rachel Goldeen, Cocoa Engineer Vincent Hittson, Cocoa Engineer 2017 Apple Inc. All rights reserved.

More information

Vision Framework. Building on Core ML. Media #WWDC17. Brett Keating, Apple Manager Frank Doepke, He who wires things together

Vision 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 information

Managing Documents In Your ios Apps

Managing 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 information

What s New in Notifications

What 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 information

Building Visually Rich User Experiences

Building 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 information

Thread Sanitizer and Static Analysis

Thread 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 information

Developing Applications for ios

Developing Applications for ios Developing Applications for ios Lecture 8: idevice Capabilities Radu Ionescu raducu.ionescu@gmail.com Faculty of Mathematics and Computer Science University of Bucharest Content Core Location: GPS + Compass

More information

Apple s new Swift language

Apple s new Swift language Microsoft and Apple Training Apple s new Swift language Peter Himschoot peter@u2u.be Agenda Developing for ios overview Xcode, Objective-C, Swift, Development life cycle UI development Interface Builder

More information

Introducing PDFKit on ios

Introducing 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 information

Building Faster in Xcode

Building 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 information

Integrating Apps and Content with AR Quick Look

Integrating 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 information

Localizing with Xcode 9

Localizing with Xcode 9 Session Developer Tools #WWDC17 Localizing with Xcode 9 401 Sara Radi, Software Engineer Aya Siblini, Software Engineer Chris Hanson, Software Engineer 2017 Apple Inc. All rights reserved. Redistribution

More information

Announcements. Today s Topics

Announcements. Today s Topics Announcements Lab 2 is due tonight by 11:59 PM Late policy is 10% of lab total per day late So -7.5 points per day late for lab 2 Labs 3 and 4 are posted on the course website Extensible Networking Platform

More information

InterfaceBuilder and user interfaces

InterfaceBuilder and user interfaces ES3 Lab 2 InterfaceBuilder and user interfaces This lab InterfaceBuilder Creating components Linking them to your code Adding buttons, labels, sliders UITableView Creating a tableview Customizing cells

More information

Introducing the Modern WebKit API

Introducing 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 information

New UIKit Support for International User Interfaces

New 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

Validating HTTP Live Streams

Validating HTTP Live Streams Media #WWDC16 Validating HTTP Live Streams Session 510 Eryk Vershen Media Engineer 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple.

More information

Introducing On Demand Resources

Introducing 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 information

What s New in SpriteKit

What 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 information

Covers ios 6. Bear Cahill. Includes 98 Techniques MANNING

Covers ios 6. Bear Cahill. Includes 98 Techniques MANNING Bear Cahill Covers ios 6 Includes 98 Techniques MANNING ios in Practice by Bear Cahill Chapter 5 Copyright 2012 Manning Publications brief contents PART 1 GETTING STARTED...1 1 Getting started with ios

More information

EXERCISES RELATED TO ios PROGRAMMING

EXERCISES RELATED TO ios PROGRAMMING EXERCISES RELATED TO ios PROGRAMMING Kari Laitinen http://www.naturalprogramming.com 2017-08-30 File created. 2017-09-21 Last modification. 1 Kari Laitinen EXERCISES WITH PROGRAM Animals.swift With these

More information

View Controller Advancements for ios8

View 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 information

Writing Energy Efficient Apps

Writing 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 information

CS ios. Extensions, Protocols, and Generics

CS ios. Extensions, Protocols, and Generics CS4962 - ios Extensions, Protocols, and Generics Package Management Application level package managers CocoaPods Carthage SPM (Swift Package Manager) CocoaPods Centralized, searchable repository Automatically

More information

Swift API Design Guidelines

Swift 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 information

Using Accelerate and simd

Using Accelerate and simd Session #WWDC18 Using Accelerate and simd 701 Matthew Badin, CoreOS, Vector and Numerics Luke Chang, CoreOS, Vector and Numerics 2018 Apple Inc. All rights reserved. Redistribution or public display not

More information

Introducing MusicKit. Media #WWDC17. Tim Parthemore, MusicKit Services Joel Lopes Da Silva, ios Music

Introducing 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 information

Building Better Apps with Value Types in Swift Session 414

Building Better Apps with Value Types in Swift Session 414 Developer Tools #WWDC15 Building Better Apps with Value Types in Swift Session 414 Doug Gregor Language Lawyer Bill Dudney Arranger of Bits 2015 Apple Inc. All rights reserved. Redistribution or public

More information

High Performance Auto Layout

High Performance Auto Layout #WWDC18 High Performance Auto Layout Ken Ferry, ios System Experience Kasia Wawer, ios Keyboards 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission

More information

Stanford CS193p. Developing Applications for ios. Spring CS193p. Spring 2016

Stanford CS193p. Developing Applications for ios. Spring CS193p. Spring 2016 Stanford Developing Applications for ios Today Views Custom Drawing Demo FaceView Views A view (i.e. UIView subclass) represents a rectangular area Defines a coordinate space For drawing And for handling

More information

What s New in SiriKit

What 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 information