Creating Complications with ClockKit Session 209

Size: px
Start display at page:

Download "Creating Complications with ClockKit Session 209"

Transcription

1 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 not permitted without written permission from Apple.

2

3

4

5

6

7 11:00AM Extension Haight - Twin Peaks Group D

8 11:00AM Haight - Twin Peaks Extension Group D

9 11:00AM Haight Twin Peaks Group D Extension

10 11:00AM Haight Twin Peaks Group D

11 11:00AM Haight Twin Peaks Group D 1:30PM Bernal Presidio Group C 4:00PM SOMA Castro Group A 6:00PM Sunset Marina Group B

12 1:20 11:00AM Haight Twin Peaks Group D 11:00AM 1:30PM Haight Bernal Twin Presidio Peaks Group DC 4:00PM SOMA Castro Group A 6:00PM Sunset Marina Group B

13 3:45 1:20 aks 1:30PM Bernal Presidio Group C 4:00PM 11:00AM SOMA Haight Castro Twin Peaks Group AD 6:00PM Sunset Marina Group B

14 3:45 6:15 1:20 4:00PM SOMA Castro Group A 6:00PM 11:00AM Sunset Haight Twin Marina Peaks Group BD

15 Time Travel

16 Time Travel

17 Agenda

18 Agenda Getting Started

19 Agenda Getting Started Complication Layout

20 Agenda Getting Started Complication Layout Providing Images and Text

21 Agenda Getting Started Complication Layout Providing Images and Text Timeline

22 Agenda Getting Started Complication Layout Providing Images and Text Timeline Complication Data Source

23 Agenda Getting Started Complication Layout Providing Images and Text Timeline Complication Data Source Keeping Your Data Fresh

24 Getting Started

25

26

27

28

29

30 Complication Families

31 Complication Families Modular

32 Complication Families Modular Modular small

33 Complication Families Modular Modular small Modular large

34 Complication Families Utilitarian Modular small Modular large

35 Complication Families Utilitarian Modular small Modular large

36 Complication Families Utilitarian Modular small Modular large Utilitarian small

37 Complication Families Utilitarian Modular small Modular large Utilitarian small Utilitarian large

38 Complication Families Circular Modular small Modular large Utilitarian small Utilitarian large

39 Complication Families Circular Modular small Modular large Utilitarian small Utilitarian large

40 Complication Families Circular Modular small Modular large Utilitarian small Utilitarian large Circular small

41 Complication Families Modular small enum CLKComplicationFamily : Int { Modular large Utilitarian small Utilitarian large case ModularSmall case ModularLarge case UtilitarianSmall case UtilitarianLarge case CircularSmall Circular small }

42 Complication Layout

43 CLKComplicationTemplate Modular Small

44 CLKComplicationTemplate Modular Small Modular Large 11:00AM Haight Twin Peaks Group D

45 CLKComplicationTemplate Modular Small Modular Large Utilitarian Small 11:00AM Haight Twin Peaks Group D

46 CLKComplicationTemplate Modular Small Modular Large Utilitarian Small 11:00AM Haight Twin Peaks Group D Utilitarian Large

47 CLKComplicationTemplate Modular Small Modular Large Utilitarian Small Circular Small 11:00AM Haight Twin Peaks Group D Utilitarian Large

48 CLKComplicationTemplate 11:00AM Haight Twin Peaks Group D

49 CLKComplicationTemplate 11:00AM Haight Twin Peaks Group D

50 CLKComplicationTemplate Header image 11:00AM Haight Twin Peaks Group D

51 CLKComplicationTemplate Header image Header text 11:00AM Haight Twin Peaks Group D

52 CLKComplicationTemplate Header image Header text 11:00AM Body 1 text Haight Twin Peaks Group D

53 CLKComplicationTemplate Header image Header text 11:00AM Body 1 text Body 2 text Haight Twin Peaks Group D

54 CLKComplicationTemplate Header image Header text 11:00AM Body 1 text Body 2 text Haight Twin Peaks Group D class CLKComplicationTemplateModularLargeStandardBody { var headerimageprovider: CLKImageProvider? var headertextprovider: CLKTextProvider var body1textprovider: var body2textprovider: CLKTextProvider CLKTextProvider? }

55 CLKComplicationTemplate Header image Header text 11:00AM Body 1 text Body 2 text Haight Twin Peaks Group D class CLKComplicationTemplateModularLargeStandardBody { var headerimageprovider: CLKImageProvider? var headertextprovider: CLKTextProvider var body1textprovider: var body2textprovider: CLKTextProvider CLKTextProvider? }

56 Providing Images and Text

57

58

59 Image Providers not UIImages

60 Image Providers not UIImages

61 Image Providers not UIImages

62 Image Providers not UIImages

63 Image Providers not UIImages

64 Image Providers not UIImages

65 Image Providers not UIImages

66 Image Providers not UIImages let bgimage = UIImage(named: "Background") let fgimage = UIImage(named: "Foreground") let imageprovider = CLKImageProvider(backgroundImage: bgimage, backgroundcolor: acolor, foregroundimage: fgimage, foregroundcolor: CLKImageProviderForegroundColor.White)

67 Text Providers not NSStrings

68 Text Providers not NSStrings Space is very constrained

69 Text Providers not NSStrings Space is very constrained Declare your intentions

70 Text Providers not NSStrings Space is very constrained Declare your intentions Let us handle formatting and fitting

71 Example: Formatting Dates CLKDateTextProvider

72 Example: Formatting Dates CLKDateTextProvider Wednesday, September 23

73 Example: Formatting Dates CLKDateTextProvider Wednesday, September Se 23

74 Example: Formatting Dates CLKDateTextProvider Wednesday, September 23

75 Example: Formatting Dates CLKDateTextProvider Wednesday, September 23 Wednesday, Sep 23

76 Example: Formatting Dates CLKDateTextProvider Wednesday, September 23 Wednesday, Sep 23 Wed, Sep 23

77 Example: Formatting Dates CLKDateTextProvider Wednesday, September 23 Wednesday, Sep 23 Wed, Sep 23 Sep 23

78 Example: Formatting Dates CLKDateTextProvider Wednesday, September 23 Wednesday, Sep 23 Wed, Sep 23 Sep 23 23

79 Example: Formatting Dates CLKDateTextProvider Wednesday, September 23 Wednesday, Sep 23 Wed, Sep 23 Sep let sep23: NSDate =... let units = [NSCalendarUnit.Weekday, NSCalendarUnit.Month, NSCalendarUnit.Day] textprovider = CLKDateTextProvider(sep23, units)

80 Example: Formatting Dates CLKDateTextProvider Wednesday, September 23 Wednesday, Sep 23 Wed, Sep 23 Sep let sep23: NSDate =... let units = [NSCalendarUnit.Weekday, NSCalendarUnit.Month, NSCalendarUnit.Day] textprovider = CLKDateTextProvider(sep23, units)

81 Example: Formatting Dates CLKDateTextProvider Wednesday, September 23 Wednesday, Sep 23 Wed, Sep 23 Sep let sep23: NSDate =... let units = [NSCalendarUnit.Weekday, NSCalendarUnit.Month, NSCalendarUnit.Day] textprovider = CLKDateTextProvider(sep23, units)

82 Example: Formatting Dates CLKDateTextProvider Wednesday, September 23 Wednesday, Sep 23 Wed, Sep 23 Sep let sep23: NSDate =... let units = [NSCalendarUnit.Weekday, NSCalendarUnit.Month, NSCalendarUnit.Day] textprovider = CLKDateTextProvider(sep23, units)

83 More Text Providers

84 More Text Providers Simple text provider

85 More Text Providers Simple text provider Time text provider

86 More Text Providers Simple text provider Time text provider

87 More Text Providers Simple text provider Time text provider Time interval text provider

88 More Text Providers Simple text provider Time text provider Time interval text provider

89 Relative Dates

90 Relative Dates

91 Relative Dates

92 Relative Dates

93 Relative Dates

94 Relative Dates

95 Relative Dates

96 Relative Date Text Provider

97 Relative Date Text Provider let moonset : NSDate =... // 2:19pm

98 Relative Date Text Provider let moonset : NSDate =... // 2:19pm let units : NSCalendarUnit = [.Hour,.Minute]

99 Relative Date Text Provider let moonset : NSDate =... // 2:19pm let units : NSCalendarUnit = [.Hour,.Minute] let style : CLKRelativeDateStyle =.Natural

100 Relative Date Text Provider let moonset : NSDate =... // 2:19pm let units : NSCalendarUnit = [.Hour,.Minute] let style : CLKRelativeDateStyle =.Natural let textprovider = CLKRelativeDateTextProvider(date: moonset, style: style, units: units)

101 Relative Date Text Provider let moonset : NSDate =... // 2:19pm let units : NSCalendarUnit = [.Hour,.Minute] let style : CLKRelativeDateStyle =.Natural let textprovider = CLKRelativeDateTextProvider(date: moonset, style: style, units: units) template.body2textprovider = textprovider

102 Relative Date Text Provider Styles Natural Offset Timer 2HRS 7MINS 13MINS 5SECS 3WKS 4DAYS 2YRS 3MOS +14 SECONDS -59 MINUTES +2 HOURS -6 DAYS +12 WEEKS 02:32 21:15:59

103

104 CLKComplicationTemplate 11:00AM Haight Twin Peaks Group D

105 CLKComplicationTemplate CLKImageProvider 11:00AM Haight Twin Peaks Group D

106 CLKComplicationTemplate CLKImageProvider CLKTextProvider 11:00AM Haight Twin Peaks Group D

107 CLKComplicationTemplate CLKImageProvider CLKTextProvider CLKTextProvider 11:00AM Haight Twin Peaks Group D

108 Timeline Paul Salzman watchos Engineer

109 Timeline 57

110 Timeline 57

111 Timeline 57 10AM 11AM

112 Timeline 57 10AM 11AM 12PM 1PM 2PM 3PM 4PM 5PM 6PM

113 Timeline 57 10AM 11AM 12PM 1PM 2PM 3PM 4PM 5PM 6PM

114 Timeline 57 Current Time 10AM 11AM 12PM 1PM 2PM 3PM 4PM 5PM 6PM

115 Timeline Current Time 10AM 11AM 12PM 1PM 2PM 3PM 4PM 5PM 6PM

116 Timeline Current Time 10AM 11AM 12PM 1PM 2PM 3PM 4PM 5PM 6PM

117 Timeline Current Time 10AM 11AM 12PM 1PM 2PM 3PM 4PM 5PM 6PM

118 Timeline TIME TRAVEL 10AM 11AM 12PM 1PM 2PM 3PM 4PM 5PM 6PM

119 Timeline TIME TRAVEL 10AM 11AM 12PM 1PM 2PM 3PM 4PM 5PM 6PM

120 Timeline 11:00AM 1:00PM Brunch with K.K. Joanie s Café

121 Timeline 11:00AM 1:00PM Brunch with K.K. Joanie s Café 4:00 5:00PM Haircut Nancy Bee 8:00 10:30PM Movie Night w/ David & Scott 11AM 1PM 4PM 5PM 8PM 10:30PM

122 Timeline 11:00AM 1:00PM Brunch with K.K. Joanie s Café 4:00 5:00PM Haircut Nancy Bee 8:00 10:30PM Movie Night w/ David & Scott 11AM 1PM 4PM 5PM 8PM 10:30PM

123 Timeline 11:00AM 1:00PM Brunch with K.K. Joanie s Café 4:00 5:00PM Haircut Nancy Bee 8:00 10:30PM Movie Night w/ David & Scott 11AM 1PM 4PM 5PM 8PM 10:30PM

124 Timeline 11:00AM 1:00PM Brunch with K.K. Joanie s Café 11:00AM 1:00PM Brunch with K.K. Joanie s Café 4:00 5:00PM Haircut Nancy Bee 8:00 10:30PM Movie Night w/ David & Scott 11AM 1PM 4PM 5PM Current Time 8PM 10:30PM

125 Timeline 11:00AM 1:00PM Brunch with K.K. Joanie s Café 4:00 5:00PM Haircut Nancy Bee 8:00 10:30PM Movie Night w/ David & Scott 11AM 1PM 4PM 5PM Current Time 8PM 10:30PM

126 Timeline 11:00AM 1:00PM Brunch with K.K. Joanie s Café 4:00 5:00PM Haircut Nancy Bee 8:00 10:30PM Movie Night w/ David & Scott 11AM 1PM 4PM 5PM Current Time 8PM 10:30PM

127 Timeline 4:00 5:00PM Haircut Nancy Bee 11:00AM 1:00PM Brunch with K.K. Joanie s Café 4:00 5:00PM Haircut Nancy Bee 8:00 10:30PM Movie Night w/ David & Scott 11AM 1PM 4PM 5PM Current Time 8PM 10:30PM

128 Timeline 11:00AM 1:00PM Brunch with K.K. Joanie s Café 4:00 5:00PM Haircut Nancy Bee 8:00 10:30PM Movie Night w/ David & Scott 11AM 1PM 4PM 5PM 8PM 10:30PM

129 Timeline 11:00AM 1:00PM Brunch with K.K. Joanie s Café 4:00 5:00PM Haircut Nancy Bee 8:00 10:30PM Movie Night w/ David & Scott 11AM 1PM 4PM 5PM 8PM 10:30PM

130 Timeline 11:00AM 1:00PM Brunch with K.K. Joanie s Café 4:00 5:00PM Haircut Nancy Bee 8:00 10:30PM Movie Night w/ David & Scott 1PM 5PM 10:30PM

131 Timeline 11:00AM 1:00PM Brunch with K.K. Joanie s Café 4:00 5:00PM Haircut Nancy Bee 8:00 10:30PM Movie Night w/ David & Scott MIDNIGHT 1PM 5PM 10:30PM

132 Timeline 11:00AM 1:00PM Brunch with K.K. Joanie s Café 4:00 5:00PM Haircut Nancy Bee 8:00 10:30PM Movie Night w/ David & Scott Calendar No more events today MIDNIGHT 1PM 5PM 10:30PM

133 Timeline 11:00AM 1:00PM Brunch with K.K. Joanie s Café 11:00AM 1:00PM Brunch with K.K. Joanie s Café 4:00 5:00PM Haircut Nancy Bee 8:00 10:30PM Movie Night w/ David & Scott Calendar No more events today MIDNIGHT 1PM 5PM 10:30PM Current Time

134 Timeline 4:00 5:00PM Haircut Nancy Bee 11:00AM 1:00PM Brunch with K.K. Joanie s Café 4:00 5:00PM Haircut Nancy Bee 8:00 10:30PM Movie Night w/ David & Scott Calendar No more events today MIDNIGHT 1PM 5PM 10:30PM Current Time

135 Timeline 8:00 10:30PM Movie Night w/ David & Scott 11:00AM 1:00PM Brunch with K.K. Joanie s Café 4:00 5:00PM Haircut Nancy Bee 8:00 10:30PM Movie Night w/ David & Scott Calendar No more events today MIDNIGHT 1PM 5PM 10:30PM Current Time

136 Timeline Calendar No more events today 11:00AM 1:00PM Brunch with K.K. Joanie s Café 4:00 5:00PM Haircut Nancy Bee 8:00 10:30PM Movie Night w/ David & Scott Calendar No more events today MIDNIGHT 1PM 5PM 10:30PM Current Time

137 Timeline CLKComplicationTimelineEntry

138 Timeline CLKComplicationTimelineEntry CLKComplicationTemplate CLKImageProvider CLKTextProvider CLKTextProvider

139 Timeline CLKComplicationTimelineEntry CLKComplicationTimelineEntry NSDate CLKComplicationTemplate CLKImageProvider CLKTextProvider CLKTextProvider

140 CLKComplicationTemplate CLKImageProvider CLKTextProvider CLKTextProvider NSDate Timeline CLKComplicationTimelineEntry class CLKComplicationTimelineEntry : NSObject { var date: NSDate var complicationtemplate: CLKComplicationTemplate } Template

141 Complication Data Source

142 Complication Data Source CLKComplicationDataSource protocol

143 Complication Data Source CLKComplicationDataSource protocol Object annotated in extension target settings

144 Complication Data Source CLKComplicationDataSource protocol Object annotated in extension target settings Callbacks per complication

145 Complication Data Source CLKComplicationDataSource protocol Object annotated in extension target settings Callbacks per complication Check CLKComplication s family property

146 Complication Data Source CLKComplicationDataSource protocol Object annotated in extension target settings Callbacks per complication Check CLKComplication s family property Handler parameter for completion and passing data

147 Complication Data Source Current timeline entry Clock Face Extension Now

148 Complication Data Source Current timeline entry Extension Clock Face ComplicationController Now

149 Complication Data Source Current timeline entry Clock Face What is your current timeline entry? Extension ComplicationController Extension Now

150 Complication Data Source Current timeline entry Extension Clock CLKComplicationTimelineEntry Face What is your current timeline entry? ComplicationController Extension Now

151 Complication Data Source Current timeline entry Extension Clock CLKComplicationTimelineEntry Face What is your current timeline entry? ComplicationController Extension Now

152 Complication Data Source Current timeline entry func getcurrenttimelineentryforcomplication( complication: CLKComplication, withhandler handler: (CLKComplicationTimelineEntry?) -> Void) Now

153 Complication Data Source Current timeline entry func getcurrenttimelineentryforcomplication( complication: CLKComplication, withhandler handler: (CLKComplicationTimelineEntry?) -> Void) Now

154 Complication Data Source Current timeline entry func getcurrenttimelineentryforcomplication( complication: CLKComplication, withhandler handler: (CLKComplicationTimelineEntry?) -> Void) Now

155 Complication Data Source Extend timeline Clock Face Extension Now

156 Complication Data Source Extend timeline Clock Face What entries do you have after a specific point in time? Extension After Date Now

157 Complication Data Source Extend timeline Clock Face What entries do you have after a specific point in time? Extension Array CLKComplicationTimelineEntry CLKComplicationTimelineEntry... After Date Now

158 Complication Data Source Extend timeline Array CLKComplicationTimelineEntry Clock Face CLKComplicationTimelineEntry... What entries do you have after a specific point in time? Extension Now After Date

159 Complication Data Source Extend timeline Array CLKComplicationTimelineEntry Clock Face CLKComplicationTimelineEntry... What entries do you have after a specific point in time? Extension Now After Date

160 Complication Data Source Extend timeline Array Array CLKComplicationTimelineEntry Clock Empty CLKComplicationTimelineEntry Face... What entries do you have after a specific point in time? Extension Now

161 Complication Data Source Extend timeline func gettimelineentriesforcomplication( complication: CLKComplication, afterdate date: NSDate, limit: Int, withhandler handler: ([CLKComplicationTimelineEntry]?) -> Void)

162 Complication Data Source Extend timeline func gettimelineentriesforcomplication( complication: CLKComplication, afterdate date: NSDate, limit: Int, withhandler handler: ([CLKComplicationTimelineEntry]?) -> Void)

163 Complication Data Source Extend timeline func gettimelineentriesforcomplication( complication: CLKComplication, afterdate date: NSDate, limit: Int, withhandler handler: ([CLKComplicationTimelineEntry]?) -> Void)

164 Complication Data Source Extend timeline func gettimelineentriesforcomplication( complication: CLKComplication, afterdate date: NSDate, limit: Int, withhandler handler: ([CLKComplicationTimelineEntry]?) -> Void)

165 Complication Data Source Extend timeline func gettimelineentriesforcomplication( complication: CLKComplication, afterdate date: NSDate, limit: Int, withhandler handler: ([CLKComplicationTimelineEntry]?) -> Void)

166 Complication Data Source Extend timeline func gettimelineentriesforcomplication( complication: CLKComplication, beforedate date: NSDate, limit: Int, withhandler handler: ([CLKComplicationTimelineEntry]?) -> Void)

167 Complication Data Source Time Travel directions Clock Face Extension Now

168 Complication Data Source Time Travel directions Which directions of Time Travel Clock Face do you support? Extension Now

169 Complication Data Source Time Travel directions Which directions of Time Travel Clock.Forward Face do you support? Extension Now

170 Complication Data Source Time Travel directions Which directions of Time Travel Clock.Backward.Forward Face do you support? Extension Now

171 Complication Data Source Time Travel directions Which directions of Time Travel Clock.Backward.Forward.None Face do you support? Extension Now

172 Complication Data Source Time Travel directions Which directions of Time Travel Clock [.Forward,.Backward.Forward.None.Backward] Face do you support? Extension Now

173 Complication Data Source Time Travel directions func getsupportedtimetraveldirectionsforcomplication( complication: CLKComplication, withhandler handler: (CLKComplicationTimeTravelDirections) -> Void) Now

174 Complication Data Source Time Travel directions func getsupportedtimetraveldirectionsforcomplication( complication: CLKComplication, withhandler handler: (CLKComplicationTimeTravelDirections) -> Void) Now

175 Complication Data Source Time Travel directions func getsupportedtimetraveldirectionsforcomplication( complication: CLKComplication, withhandler handler: (CLKComplicationTimeTravelDirections) -> Void) Now

176 10:09 11:00AM 1:00PM Brunch with K.K. Joanie s Café 65 2:09

177 4:00 5:00PM Haircut Nancy Bee 4: :09

178 7:09 8:00 10:30PM Movie Night w/ David & Scott 75 11:09

179 Complication Data Source Timeline boundaries Clock Face Extension Now

180 Complication Data Source Timeline boundaries Clock Face When is the end of your timeline? Extension Now

181 Complication Data Source Timeline boundaries Clock NSDate Face When is the end of your timeline? Extension Now

182 Complication Data Source Timeline boundaries Clock NSDate Face When is the beginning of your timeline? Extension Now

183 Complication Data Source Timeline boundaries Clock NSDate Face When is the beginning of your timeline? Extension Now

184 Complication Data Source Timeline boundaries func gettimelineenddateforcomplication( complication: CLKComplication, withhandler handler: (NSDate?) -> Void) Now

185 Complication Data Source Timeline boundaries func gettimelineenddateforcomplication( complication: CLKComplication, withhandler handler: (NSDate?) -> Void) Now

186 Complication Data Source Timeline boundaries func gettimelineenddateforcomplication( complication: CLKComplication, withhandler handler: (NSDate?) -> Void) Now

187 Complication Data Source Timeline boundaries func gettimelinestartdateforcomplication( complication: CLKComplication, withhandler handler: (NSDate?) -> Void) Now

188

189

190

191 Complication Data Source Placeholder templates Clock Face Extension

192 Complication Data Source Placeholder templates Clock Face What is your placeholder template? Extension

193 Complication Data Source Placeholder templates Clock CLKComplicationTemplate Face What is your placeholder template? Extension

194 Complication Data Source Placeholder templates

195 Complication Data Source Placeholder templates func getplaceholdertemplateforcomplication( complication: CLKComplication, withhandler handler: (CLKComplicationTemplate?) -> Void)

196 Complication Data Source Placeholder templates func getplaceholdertemplateforcomplication( complication: CLKComplication, withhandler handler: (CLKComplicationTemplate?) -> Void)

197 Complication Data Source Placeholder templates func getplaceholdertemplateforcomplication( complication: CLKComplication, withhandler handler: (CLKComplicationTemplate?) -> Void)

198 Demo Building a complication

199 Keeping Your Data Fresh

200 Data Lifecycle

201 Data Lifecycle WatchConnectivity

202 Data Lifecycle WatchConnectivity NSURLSession

203 Reload Timeline Clock Face Extension Now

204 Reload Timeline Clock Face Extension Now

205 Reload Timeline Extension Clock Face CLKComplicationServer Now

206 Reload Timeline Clock Face Please reload my timeline Extension CLKComplicationServer Now

207 Reload Timeline Clock Face Please reload my timeline Extension CLKComplicationServer Now

208 Reload Timeline Clock Face What is your current timeline entry? Extension CLKComplicationServer Please reload my timeline Now

209 Extend Timeline Extension Clock Face CLKComplicationServer Now

210 Extend Timeline Clock Face Please extend my timeline Extension CLKComplicationServer Now

211 Extend Timeline Clock Face What entries do you have after a specific point in time? Extension CLKComplicationServer Please extend my timeline After Date

212 Reload or Extend // get the shared instance let server = CLKComplicationServer.sharedInstance()

213 Reload or Extend // get the shared instance let server = CLKComplicationServer.sharedInstance() // extend the timeline for all complications for complication in server.activecomplications { }

214 Reload or Extend // get the shared instance let server = CLKComplicationServer.sharedInstance() // extend the timeline for all complications for complication in server.activecomplications { server.extendtimelineforcomplication(complication) }

215 Reload or Extend // get the shared instance let server = CLKComplicationServer.sharedInstance() // extend the timeline for all complications for complication in server.activecomplications { server.extendtimelineforcomplication(complication) } // reload the timeline for all complications for complication in server.activecomplications { server.reloadtimelineforcomplication(complication) }

216 When Can You Update?

217 When Can You Update? Whenever extension runs

218 When Can You Update? Whenever extension runs When Watch app runs

219 When Can You Update? Whenever extension runs When Watch app runs Locally scheduled wake

220 When Can You Update? Whenever extension runs When Watch app runs Locally scheduled wake iphone initiated wake

221 When Can You Update? Whenever extension runs When Watch app runs Locally scheduled wake iphone initiated wake Budgeted Budgeted

222 When Can You Update? Whenever extension runs When Watch app runs Locally scheduled wake iphone initiated wake Budgeted Budgeted Introducing Watch Connectivity Pacific Heights Thursday 11:00AM

223 CLKComplicationDataSource One more call func getnextrequestedupdatedatewithhandler( handler: (NSDate?) -> Void)

224 CLKComplicationDataSource One more call func getnextrequestedupdatedatewithhandler( handler: (NSDate?) -> Void) One date returned across all active complications

225 CLKComplicationDataSource One more call func getnextrequestedupdatedatewithhandler( handler: (NSDate?) -> Void) One date returned across all active complications Hint for budgeted background launch of extension

226 CLKComplicationDataSource One more call func getnextrequestedupdatedatewithhandler( handler: (NSDate?) -> Void) One date returned across all active complications Hint for budgeted background launch of extension Allows data delegate callbacks

227 Summary

228 Summary Build timeline of templates and providers

229 Summary Build timeline of templates and providers Take advantage of formatting and fitting

230 Summary Build timeline of templates and providers Take advantage of formatting and fitting Refresh data using delegate events

231 Summary Build timeline of templates and providers Take advantage of formatting and fitting Refresh data using delegate events Do less work to run more

232 More Information Documentation watchos 2 Transition Guide WatchKit Programming Guide Technical Support Apple Developer Forums Developer Technical Support Sample Code Lister WatchKit Catalog General Inquiries Jake Behrens, watchos Frameworks Evangelist behrens@apple.com

233 Related Sessions Introducing Watch Connectivity Pacific Heights Thursday 11:00AM WatchKit Tips and Tricks Presidio Friday 10:00AM Introducing WatchKit for watchos 2 Presidio Tuesday 10:00AM Building Watch Apps Pacific Heights Tuesday 4:30PM WatchKit In-Depth, Part 1 Pacific Heights Wednesday 9:00AM WatchKit In-Depth, Part 2 Pacific Heights Wednesday 10:00AM

234 Related Labs ClockKit Complications Lab Frameworks Lab D Wednesday 1:30PM Watch Connectivity Lab Frameworks Lab B Thursday 1:30PM WatchKit and ClockKit Complications Lab Frameworks Lab A Friday 1:30PM

235

Building Watch Apps #WWDC15. Featured. Session 108. Neil Desai watchos Engineer

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

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

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

Designing for Apple Watch

Designing 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 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

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

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

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

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

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

Designing Great Apple Watch Experiences

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

App Extension Best Practices

App 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 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

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

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

Apple Watch Design Tips and Tricks

Apple Watch Design Tips and Tricks Design #WWDC15 Apple Watch Design Tips and Tricks Session 805 Mike Stern User Experience Evangelist Rachel Roth User Experience Evangelist 2015 Apple Inc. All rights reserved. Redistribution or public

More 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

Adapting to the New UI of OS X Yosemite

Adapting to the New UI of OS X Yosemite Frameworks #WWDC14 Adapting to the New UI of OS X Yosemite Session 209 Mike Stern User Experience Evangelist! Rachel Goldeen Cocoa Software Engineer! Patrick Heynen Cocoa Engineering Manager 2014 Apple

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

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

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

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

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

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

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

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

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

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

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

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

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

What s New in CloudKit

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 information

Introducing the Contacts Framework

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

Adopting Advanced Features of the New UI

Adopting Advanced Features of the New UI Frameworks #WWDC14 Adopting Advanced Features of the New UI Session 220 Chris Dreessen AppKit Software Engineer! Corbin Dunn AppKit Software Engineer 2014 Apple Inc. All rights reserved. Redistribution

More information

Localizing with Xcode 6

Localizing with Xcode 6 Tools #WWDC14 Localizing with Xcode 6 Best practices and new workflows Session 412 Zoltan Foley-Fisher Xcode Software Engineer! Chris Hanson Xcode Software Engineer 2014 Apple Inc. All rights reserved.

More information

Creating Great App Previews

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

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

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

Networking with NSURLSession

Networking 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 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

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

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

Profiling in Depth. Do you know where your code is? Session 412. Kris Markel Performance Tools Engineer Chad Woolf Performance Tools Engineer

Profiling 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 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

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

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

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

Advances in TVMLKit. App Frameworks #WWDC17. Trevor Cortez, Localization Engineer Parry Panesar, tvos Engineer Jeremy Foo, tvos Engineer

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

Introducing the Photos Frameworks

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

Mastering Xcode for iphone OS Development Part 2. Marc Verstaen Sr. Manager, iphone Tools

Mastering Xcode for iphone OS Development Part 2. Marc Verstaen Sr. Manager, iphone Tools Mastering Xcode for iphone OS Development Part 2 Marc Verstaen Sr. Manager, iphone Tools 2 Tale of Two Sessions Part 1: Orientation: Tour of complete development cycle Part 2: Mastery: Details of several

More information

Writing Great Alerts. Design #WWDC17. Natalie Calvert, Designer

Writing Great Alerts. Design #WWDC17. Natalie Calvert, Designer Session Design #WWDC17 Writing Great Alerts 813 Natalie Calvert, Designer 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. When

More 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

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

Cross Platform Nearby Networking

Cross Platform Nearby Networking Core OS #WWDC14 Cross Platform Nearby Networking Session 709 Demijan Klinc Software Engineer 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission

More 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

Creating Content with iad JS

Creating Content with iad JS Creating Content with iad JS Part 2 The iad JS Framework Antoine Quint iad JS Software Engineer ios Apps and Frameworks 2 Agenda Motivations and Features of iad JS Core JavaScript Enhancements Working

More information

What s New in Energy Debugging

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

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

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

Advanced Debugging and the Address Sanitizer

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

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

Improving the Accessibility and Usability of Complex Web Applications

Improving the Accessibility and Usability of Complex Web Applications Media #WWDC14 Improving the Accessibility and Usability of Complex Web Applications Session 516 Jesse Bunch Productivity Engineering 2014 Apple Inc. All rights reserved. Redistribution or public display

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

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

Creating Extensions for ios and OS X, Part Two

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

What s New in Metal, Part 2

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

Storyboards and Controllers on OS X

Storyboards and Controllers on OS X Frameworks #WWDC14 Storyboards and Controllers on OS X Contain yourself Session 212 Mike Swingler Interface Builder Engineer Raleigh Ledet AppKit Engineer 2014 Apple Inc. All rights reserved. Redistribution

More 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

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

What s New in Core Location

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

Advanced Cocoa Text Tips and Tricks. Aki Inoue Cocoa Engineer

Advanced Cocoa Text Tips and Tricks. Aki Inoue Cocoa Engineer Advanced Cocoa Text Tips and Tricks Aki Inoue Cocoa Engineer 2 Introduction Only on Mac OS Diving deeper Understanding the layout process Getting comfortable with extending and customizing base functionalities

More information

itunes Connect Development to distribution #WWDC15 Distribution Session 304

itunes Connect Development to distribution #WWDC15 Distribution Session 304 Distribution #WWDC15 itunes Connect Development to distribution Session 304 Paul Turner Senior Engineering Operations Manager, itunes Digital Supply Chain 2015 Apple Inc. All rights reserved. Redistribution

More 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

AGENDA WORKSHEET. Version 5.0 September 12th, 2018

AGENDA WORKSHEET. Version 5.0 September 12th, 2018 AGENDA WORKSHEET Version 5.0 September 12th, 2018 The Pre-Event Checklist A list of tasks to check off as you re getting prepared for re:invent 2018. Registered for re:invent. Booked my hotel. Booked travel

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

Configuring Cisco Access Policies

Configuring Cisco Access Policies CHAPTER 11 This chapter describes how to create the Cisco Access Policies assigned to badge holders that define which doors they can access, and the dates and times of that access. Once created, access

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

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

} Evaluate the following expressions: 1. int x = 5 / 2 + 2; 2. int x = / 2; 3. int x = 5 / ; 4. double x = 5 / 2.

} Evaluate the following expressions: 1. int x = 5 / 2 + 2; 2. int x = / 2; 3. int x = 5 / ; 4. double x = 5 / 2. Class #10: Understanding Primitives and Assignments Software Design I (CS 120): M. Allen, 19 Sep. 18 Java Arithmetic } Evaluate the following expressions: 1. int x = 5 / 2 + 2; 2. int x = 2 + 5 / 2; 3.

More information

Internationalization Best Practices

Internationalization Best Practices App Frameworks #WWDC16 Internationalization Best Practices Session 201 Karan Miśra Internationalization Software Engineer 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted

More information

Multitasking Support on the ios Platform

Multitasking 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 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

What s New in the LLVM Compiler. Chris Lattner LLVM Chief Architect

What s New in the LLVM Compiler. Chris Lattner LLVM Chief Architect What s New in the LLVM Compiler Chris Lattner LLVM Chief Architect 2 Apple Compiler Evolution Renovating the Apple compiler landscape Phasing out GCC-based tools Driving innovation in LLVM-based technologies

More information

DOWNLOAD OR READ : WATCH OS 3 FOR THE APPLE WATCH AN EASY GUIDE TO THE BEST FEATURES PDF EBOOK EPUB MOBI

DOWNLOAD OR READ : WATCH OS 3 FOR THE APPLE WATCH AN EASY GUIDE TO THE BEST FEATURES PDF EBOOK EPUB MOBI DOWNLOAD OR READ : WATCH OS 3 FOR THE APPLE WATCH AN EASY GUIDE TO THE BEST FEATURES PDF EBOOK EPUB MOBI Page 1 Page 2 watch os 3 for the apple watch an easy guide to the best features watch os 3 for pdf

More information

Advanced Memory Analysis with Instruments. Daniel Delwood Performance Tools Engineer

Advanced Memory Analysis with Instruments. Daniel Delwood Performance Tools Engineer Advanced Memory Analysis with Instruments Daniel Delwood Performance Tools Engineer 2 Memory Analysis What s the issue? Memory is critical to performance Limited resource Especially on iphone OS 3 4 Memory

More information

Introduction to WatchKit. CS193W - Spring Lecture 1

Introduction to WatchKit. CS193W - Spring Lecture 1 Introduction to WatchKit CS193W - Spring 2016 - Lecture 1 appleᴡᴀᴛᴄʜ Released April 24, 2015 No updates to the hardware yet. Three collections, over 30 models Two sizes The Screen OLED (organic light-emitting

More information

Your Apps and the Future of macos Security

Your 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 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