Mysteries of Auto Layout, Part 1

Size: px
Start display at page:

Download "Mysteries of Auto Layout, Part 1"

Transcription

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

2 Auto Layout

3 Auto Layout

4 Getting Started with Auto Layout? See previous WWDC sessions on

5 Outline Part 1 Morning Maintainable Layouts Changing Constraints View Sizing Self-Sizing Table View Cells Priorities Alignment Part 2 Afternoon The Layout Cycle Legacy Layout Constraint Creation Constraining Negative Space Unsatisfiable Constraints Resolving Ambiguity

6 Outline Part 1 Morning Maintainable Layouts Changing Constraints View Sizing Self-Sizing Table View Cells Priorities Alignment Part 2 Afternoon The Layout Cycle Legacy Layout Constraint Creation Constraining Negative Space Unsatisfiable Constraints Resolving Ambiguity

7 Maintainable Layouts Mystery #1

8 Constraints Spacing and alignment Mysteries of Auto Layout

9 Constraints Spacing and alignment Mysteries of Auto Layout Mysteries of Auto Layout

10

11 Many Constraints

12 Stack View UIStackView (ios 9) and NSStackView (OS X 10.9) stackstacktest Build stackstacktest: Succeeded Today at 3:05

13 Stack View

14 Stack View Built with Auto Layout

15 Stack View Built with Auto Layout Manages constraints

16 Stack View Built with Auto Layout Manages constraints Horizontal or vertical

17 Stack View Alignment

18 Stack View Alignment

19 Stack View Distribution

20

21 Demo Stack View in Interface Builder

22 Animate // ios 9 UIView.animateWithDuration(1.0) { () -> Void in self.subviewtohide.hidden =!self.subviewtohide.hidden }

23 Animate // ios 9 UIView.animateWithDuration(1.0) { () -> Void in self.subviewtohide.hidden =!self.subviewtohide.hidden }

24 Animate // ios 9 UIView.animateWithDuration(1.0) { self.subviewtohide.hidden =!self.subviewtohide.hidden } // OS X NSAnimationContext.runAnimationGroup({ context in context.duration = 1.0 self.subviewtohide.animator().hidden =!self.subviewtohide.hidden }, completionhandler: nil)

25 API // ios 9 class UIStackView { var axis:uilayoutconstraintaxis var distribution:uistackviewdistribution var alignment:uistackviewalignment var spacing:cgfloat func addarrangedsubview(view: UIView) var arrangedsubviews:[uiview] } // OS X class NSStackView { var orientation:nsuserinterfaceorientation var distribution:nsstackviewdistribution var alignment:nslayoutattribute var spacing:cgfloat func addarrangedsubview(view: NSView) var arrangedsubviews:[nsview] }

26 API // ios 9 class UIStackView { var axis:uilayoutconstraintaxis var distribution:uistackviewdistribution var alignment:uistackviewalignment var spacing:cgfloat func addarrangedsubview(view: UIView) var arrangedsubviews:[uiview] } // OS X class NSStackView { var orientation:nsuserinterfaceorientation var distribution:nsstackviewdistribution var alignment:nslayoutattribute var spacing:cgfloat func addarrangedsubview(view: NSView) var arrangedsubviews:[nsview] }

27 Stack View in Interface Builder

28 Stack View in Interface Builder Easy to build

29 Stack View in Interface Builder Easy to build Easy to maintain

30 Stack View in Interface Builder Easy to build Easy to maintain Composable Stack Views

31 Stack View in Interface Builder Easy to build Easy to maintain Composable Stack Views Lightweight

32 Before and After Before, many constraints

33 Before and After After, four constraints with Stack View

34 Start with Stack View, use constraints as needed

35 Feeding the Layout Engine Mysteries of Auto Layout, part 1 Kasia Wawer ios Keyboards Engineer

36 Getting from Constraints to Layout Views Constraints in IB Constraints in VFL Explicit constraints

37 Getting from Constraints to Layout Views Constraints in IB??? Constraints in VFL Explicit constraints

38 Getting from Constraints to Layout Views Constraints in IB Constraints in VFL??? Your Layout Explicit constraints

39 Getting from Constraints to Layout Views Constraints in IB Constraints in VFL??? Your Layout? Explicit constraints

40 Getting from Constraints to Layout???

41 Getting from Constraints to Layout???

42 Changing Constraints Mystery #2

43 Activate and Deactivate

44 Activate and Deactivate Constraints find their own container

45 Activate and Deactivate Constraints find their own container Adds constraints efficiently

46 Activate and Deactivate Constraints find their own container Adds constraints efficiently Do not need to own all views

47 Activate and Deactivate

48 Activate and Deactivate Add and remove

49 Activate and Deactivate Activate and deactivate

50 Things to Keep in Mind

51 Things to Keep in Mind Never deactivate self.view.constraints

52 Things to Keep in Mind Never deactivate self.view.constraints Not all of those constraints belong to you

53 Things to Keep in Mind Never deactivate self.view.constraints Not all of those constraints belong to you Weird things will happen

54 Things to Keep in Mind Never deactivate self.view.constraints Not all of those constraints belong to you Weird things will happen Just don t do it!

55 Things to Keep in Mind Never deactivate self.view.constraints Not all of those constraints belong to you Weird things will happen Just don t do it! Keep references to constraints that change

56 Demo Changing constraints

57 Changing Constraints

58 Changing Constraints Never deactivate self.view.constraints

59 Changing Constraints Never deactivate self.view.constraints Keep references to constraints

60 Changing Constraints Never deactivate self.view.constraints Keep references to constraints Animate changing constraints with view animation

61 Building the Layout Views Constraints in IB Constraints in VFL Layout Engine Explicit constraints

62 View Sizing Mystery #3

63 View Size Intrinsic content size Content size Label text Content size

64 View Size Intrinsic content size Certain views have an intrinsiccontentsize For instance labels and image views Content size Label text Content size

65 View Size Intrinsic content size Certain views have an intrinsiccontentsize For instance labels and image views Size derived from non-constraint internals Content size Label text Content size

66 View Size Intrinsic content size Certain views have an intrinsiccontentsize For instance labels and image views Size derived from non-constraint internals Content size Label text System makes the size constraints Content size

67 View Size Intrinsic content size Certain views have an intrinsiccontentsize For instance labels and image views Size derived from non-constraint internals Content size Label text System makes the size constraints Layout size is not guaranteed Content size

68 View Size Defining a particular view size

69 View Size Defining a particular view size Use constraints first

70 View Size Defining a particular view size Use constraints first Override intrinsiccontentsize for specific reasons

71 View Size Defining a particular view size Use constraints first Override intrinsiccontentsize for specific reasons If size information does not come from constraints

72 View Size Defining a particular view size Use constraints first Override intrinsiccontentsize for specific reasons If size information does not come from constraints If view has custom drawing (sometimes)

73 View Size Defining a particular view size Use constraints first Override intrinsiccontentsize for specific reasons If size information does not come from constraints If view has custom drawing (sometimes) You will be responsible for invalidating

74 View Size Defining a particular view size Use constraints first Override intrinsiccontentsize for specific reasons If size information does not come from constraints If view has custom drawing (sometimes) You will be responsible for invalidating Size can change with size class changes

75 Example

76 Example widthconstraint = NSLayoutConstraint(item: imageview, attribute:.width, relatedby:.equal, toitem: self.view, attribute:.width, multiplier: 0.75, constant: 0.0) Width Proportion

77 Example widthconstraint = NSLayoutConstraint(item: imageview, attribute:.width, relatedby:.equal, toitem: self.view, attribute:.width, multiplier: 0.75, constant: 0.0) Width Proportion

78 Example widthconstraint = NSLayoutConstraint(item: imageview, attribute:.width, relatedby:.equal, toitem: self.view, attribute:.width, multiplier: 0.75, constant: 0.0) Height Proportion heightconstraint = NSLayoutConstraint(item: imageview, attribute:.height, relatedby:.equal, toitem: imageview, attribute:.width, multiplier: 1.5, constant: 0.0)

79 Example widthconstraint = NSLayoutConstraint(item: imageview, attribute:.width, relatedby:.equal, toitem: self.view, attribute:.width, multiplier: 0.75, constant: 0.0) Height Proportion heightconstraint = NSLayoutConstraint(item: imageview, attribute:.height, relatedby:.equal, toitem: imageview, attribute:.width, multiplier: 1.5, constant: 0.0)

80 Self-Sizing Table View Cells Mystery #4

81 Self-Sizing Table View Cells

82 Self-Sizing Table View Cells Self-sizing needs size from constraints

83 Self-Sizing Table View Cells Self-sizing needs size from constraints Width is defined with table view cells

84 Self-Sizing Table View Cells Self-sizing needs size from constraints Width is defined with table view cells Constraints must determine height

85 Self-Sizing Table View Cells Self-sizing needs size from constraints Width is defined with table view cells Constraints must determine height Take advantage of proportions

86 Self-Sizing Table View Cells Self-sizing needs size from constraints Width is defined with table view cells Constraints must determine height Take advantage of proportions

87 Self-Sizing Table View Cells Self-sizing needs size from constraints Width is defined with table view cells Constraints must determine height Take advantage of proportions

88 Self-Sizing Table View Cells Self-sizing needs size from constraints Width is defined with table view cells Constraints must determine height Take advantage of proportions

89 Demo Self-sizing Table View Cells

90 View Sizing

91 View Sizing Certain views have an intrinsiccontentsize

92 View Sizing Certain views have an intrinsiccontentsize Constraints should define size when possible

93 View Sizing Certain views have an intrinsiccontentsize Constraints should define size when possible For self-sizing views, define size fully in constraints

94 Building the Layout Views Constraints in IB Constraints in VFL Layout Engine Explicit constraints

95 Building the Layout Sizing constraints Views Constraints in IB Constraints in VFL Layout Engine Explicit constraints

96 Building the Layout Sizing constraints Views Constraints in IB Constraints in VFL Layout Engine Explicit constraints intrinsiccontentsize

97 Priorities Mystery #5

98 Ambiguity Why does it happen?

99 Ambiguity Why does it happen? More than one layout solution

100 Ambiguity Why does it happen? More than one layout solution Not enough constraints

101 Ambiguity Why does it happen? More than one layout solution Not enough constraints

102 Ambiguity Why does it happen? More than one layout solution Not enough constraints

103 Ambiguity Why does it happen? More than one layout solution Not enough constraints Equal, non-required priorities

104 Ambiguity Why does it happen? More than one layout solution Not enough constraints Equal, non-required priorities The engine makes a choice

105 Constraint Priorities

106 Constraint Priorities Priorities go from

107 Constraint Priorities Priorities go from Required is 1000 DefaultHigh is 750 DefaultLow is 250

108 Constraint Priorities Priorities go from Required is -[image]- -[image]-[caption(==image@751)]- " DefaultHigh is 750 DefaultLow is 250

109 Constraint Priorities Priorities go from Required is -[image]- -[image]-[caption(==image@751)]- " DefaultHigh is 750 DefaultLow is 250

110 Constraint Priorities Priorities go from Required is -[image]- -[image]-[caption(==image@751)]- " DefaultHigh is 750 DefaultLow is 250 widthconstraint.priority = UILayoutPriorityDefaultHigh + 10;

111 Constraint Priorities Priorities go from Required is -[image]- -[image]-[caption(==image@751)]- " DefaultHigh is 750 DefaultLow is 250 Highest priority wins widthconstraint.priority = UILayoutPriorityDefaultHigh + 10;

112 Constraint Priorities Priorities go from Required is -[image]- -[image]-[caption(==image@751)]- " DefaultHigh is 750 DefaultLow is 250 Highest priority wins System uses some priorities Set around, not equal to widthconstraint.priority = UILayoutPriorityDefaultHigh + 10;

113 Content Priorities

114 Content Priorities How a view handles its content

115 Content Priorities How a view handles its content By default, these are not set as required Do not set as required Can cause unsatisfiable constraints

116 Content Priorities How a view handles its content By default, these are not set as required Do not set as required Can cause unsatisfiable constraints Equal priorities can cause ambiguity

117 Content Priorities How a view handles its content By default, these are not set as required Do not set as required Can cause unsatisfiable constraints Equal priorities can cause ambiguity answer send answer Types Content hugging

118 Content Priorities How a view handles its content By default, these are not set as required Content hugging priorities Do not set as required Can cause unsatisfiable constraints Equal priorities can cause ambiguity answer send answer Types Content hugging

119 Content Priorities How a view handles its content By default, these are not set as required Content hugging priorities Do not set as required Can cause unsatisfiable constraints Equal priorities can cause ambiguity answer send answer Types Content hugging

120 Content Priorities How a view handles its content By default, these are not set as required Content hugging priorities Do not set as required Can cause unsatisfiable constraints Equal priorities can cause ambiguity answer send answer Types Content hugging

121 Content Priorities How a view handles its content By default, these are not set as required Content hugging priorities Do not set as required Can cause unsatisfiable constraints Equal priorities can cause ambiguity answer send answer Types Content hugging

122 Content Priorities How a view handles its content By default, these are not set as required Content hugging priorities Do not set as required Can cause unsatisfiable constraints Equal priorities can cause ambiguity answer send answer Types Content hugging

123 Content Priorities How a view handles its content By default, these are not set as required Content hugging priorities Do not set as required Can cause unsatisfiable constraints Equal priorities can cause ambiguity answer send answer Types Content hugging

124 Content Priorities How a view handles its content By default, these are not set as required Content hugging priorities Do not set as required Can cause unsatisfiable constraints Equal priorities can cause ambiguity answer send answer Types Content hugging

125 Content Priorities How a view handles its content By default, these are not set as required Content hugging priorities Do not set as required Can cause unsatisfiable constraints Equal priorities can cause ambiguity answer send answer Types Content hugging

126 Content Priorities How a view handles its content By default, these are not set as required Do not set as required Can cause unsatisfiable constraints Equal priorities can cause ambiguity Types Content hugging Compression resistance

127 Content Priorities How a view handles its content Compression resistance priorities By default, these are not set as required Do not set as required Can cause unsatisfiable constraints Equal priorities can cause ambiguity red Types Content hugging Compression resistance

128 Content Priorities How a view handles its content Compression resistance priorities By default, these are not set as required Do not set as required Can cause unsatisfiable constraints Equal priorities can cause ambiguity czerw Types Content hugging Compression resistance

129 Content Priorities How a view handles its content Compression resistance priorities By default, these are not set as required Do not set as required Can cause unsatisfiable constraints Equal priorities can cause ambiguity czerwony Types Content hugging Compression resistance

130 Priorities

131 Priorities Can help keep constraints from unsatisfiability

132 Priorities Can help keep constraints from unsatisfiability But look out for competing priorities!

133 Priorities Can help keep constraints from unsatisfiability But look out for competing priorities! Results are more consistent

134 Priorities Can help keep constraints from unsatisfiability But look out for competing priorities! Results are more consistent Use content priorities to get to the right layout

135 Priorities Can help keep constraints from unsatisfiability But look out for competing priorities! Results are more consistent Use content priorities to get to the right layout Hugging priorities hug content

136 Priorities Can help keep constraints from unsatisfiability But look out for competing priorities! Results are more consistent Use content priorities to get to the right layout Hugging priorities hug content Compression resistance resists squishing

137 Building the Layout Sizing constraints Views Constraints in IB Constraints in VFL Layout Engine Explicit constraints intrinsiccontentsize

138 Building the Layout Sizing constraints Constraint priorities Views Constraints in IB Constraints in VFL Layout Engine Explicit constraints intrinsiccontentsize

139 Building the Layout Constraint priorities Content priorities Sizing constraints Views Constraints in IB Constraints in VFL Layout Engine Explicit constraints intrinsiccontentsize

140 Alignment Mystery #6

141 Aligning Baselines

142 Aligning Baselines Use firstbaseline and lastbaseline

143 Aligning Baselines Use firstbaseline and lastbaseline Aligns text better than top or bottom

144 Aligning Baselines Use firstbaseline and lastbaseline Aligns text better than top or bottom Better control over changing views

145 Aligning Baselines Use firstbaseline and lastbaseline Aligns text better than top or bottom Better control over changing views Label aligned to button by bottom Button

146 Aligning Baselines Use firstbaseline and lastbaseline Aligns text better than top or bottom Better control over changing views Label aligned to button by bottom Add second line of text and a third while we re at it Button

147 Aligning Baselines Use firstbaseline and lastbaseline Aligns text better than top or bottom Better control over changing views Label aligned to button by bottom Add second line of text and a third while we re at it Button

148 Aligning Baselines Use firstbaseline and lastbaseline Aligns text better than top or bottom Better control over changing views Label aligned to button by bottom Add second line of text and a third while we re at it Button

149 Aligning Baselines Use firstbaseline and lastbaseline Aligns text better than top or bottom Better control over changing views Label aligned to button by bottom Add second line of text and a third while we re at it Button

150 Aligning Baselines Use firstbaseline and lastbaseline Aligns text better than top or bottom Better control over changing views Label aligned to button by bottom Button Add second line of text and a third while we re at it

151 Leading and Trailing One of the best photos I took on the trip. I love how the water looks like mist! Rate: Add comment

152 Leading and Trailing Use leading/trailing instead of left/right Helps with prep for localization One of the best photos I took on the trip. I love how the water looks like mist! Rate: Add comment

153 Leading and Trailing Tied to left and right Use leading/trailing instead of left/right Helps with prep for localization یکی از بهترین عکس.هایی که در سفر گرفتم حالت آب را که شبیه مه!است خیلی دوست دارم پیشنهاد دهید :امتیاز

154 Leading and Trailing Tied Tied to leading to left and right trailing Use leading/trailing instead of left/right Helps with prep for localization یکی از یکی از بهترین بهترین عکس عکس هایی که.هاییدر که در سفر سفر گرفتم. گرفتم حالت آب حالت را که آب را که شبیه مه شبیه مه!استاست خیلی خیلی دوست دوست دارم دارم! امتیاز: پیشنهاد دهید

155 Alignment Rects Tap to choose character

156 Alignment Rects Usually (not always) same as frame Tap to choose character

157 Alignment Rects Usually (not always) same as frame Includes the critical content only Tap to choose character

158 Alignment Rects Usually (not always) same as frame Includes the critical content only Does not change when view is transformed Tap to choose character

159 Alignment Rects Usually (not always) same as frame Includes the critical content only Does not change when view is transformed Tap to choose character

160 Alignment Rects Usually (not always) same as frame Includes the critical content only Does not change when view is transformed Override alignmentrectinsets if needed Tap to choose character

161 Alignment Rects Usually (not always) same as frame Includes the critical content only Does not change when view is transformed Override alignmentrectinsets if needed Find out the calculated rects Tap to choose character

162 Alignment Rects Usually (not always) same as frame Includes the critical content only Does not change when view is transformed Override alignmentrectinsets if needed Find out the calculated rects Use Show Alignment Rectangles in Debug menu

163 Alignment Rects Usually (not always) same as frame Includes the critical content only Does not change when view is transformed Override alignmentrectinsets if needed Find out the calculated rects Use Show Alignment Rectangles in Debug menu

164 Alignment Rects Usually (not always) same as frame Includes the critical content only Does not change when view is transformed Override alignmentrectinsets if needed Find out the calculated rects Use Show Alignment Rectangles in Debug menu Get using alignmentrectforframe:

165 Alignment Rects Usually (not always) same as frame Includes the critical content only Does not change when view is transformed Override alignmentrectinsets if needed Find out the calculated rects Use Show Alignment Rectangles in Debug menu Get using alignmentrectforframe: More in Part 2

166 Alignment

167 Alignment First and last baseline for better aligned text

168 Alignment First and last baseline for better aligned text Leading and trailing instead of left and right

169 Alignment First and last baseline for better aligned text Leading and trailing instead of left and right Override alignmentrectinsets to adjust alignment rects

170 Building the Layout Constraint priorities Content priorities Sizing constraints Views Constraints in IB Constraints in VFL Layout Engine Explicit constraints intrinsiccontentsize

171 Building the Layout Constraint priorities Content priorities Sizing constraints Views Constraints in IB Constraints in VFL Explicit constraints Layout Engine Horizontal alignment Vertical alignment Baseline alignment intrinsiccontentsize

172 Building the Layout Constraint priorities Content priorities Sizing constraints Views Alignment rect insets Constraints in IB Constraints in VFL Explicit constraints Layout Engine Horizontal alignment Vertical alignment Baseline alignment intrinsiccontentsize

173 Building the Layout Layout Engine

174 Building the Layout Layout Engine

175 Building the Layout Layout Engine Alignment The Engine rects

176 Building the Layout Layout Engine Alignment The Engine rects Your Layout

177 Building the Layout Your Layout

178 Summary

179 Summary Stack Views help build easily maintainable layouts

180 Summary Stack Views help build easily maintainable layouts Use activate and deactivate for constraints

181 Summary Stack Views help build easily maintainable layouts Use activate and deactivate for constraints Determine size through constraints

182 Summary Stack Views help build easily maintainable layouts Use activate and deactivate for constraints Determine size through constraints Override intrinsiccontentsize judiciously

183 Summary Stack Views help build easily maintainable layouts Use activate and deactivate for constraints Determine size through constraints Override intrinsiccontentsize judiciously Use priorities to properly solve your layout

184 Summary Stack Views help build easily maintainable layouts Use activate and deactivate for constraints Determine size through constraints Override intrinsiccontentsize judiciously Use priorities to properly solve your layout Alignment goes beyond top, bottom, and center

185 Summary Stack Views help build easily maintainable layouts Use activate and deactivate for constraints Determine size through constraints Override intrinsiccontentsize judiciously Use priorities to properly solve your layout Alignment goes beyond top, bottom, and center Keep localization in mind

186 More Information Documentation and Videos Swift Language Documentation Sample Code AstroLayout prerelease/ios/samplecode/astrolayout Technical Support Apple Developer Forums General Inquiries Paul Marcos, App Frameworks Evangelist

187 Related Sessions Mysteries of Auto Layout, Part 2 Presidio Thursday 1:30PM What s New in Cocoa Presidio Tuesday 1:30PM What s New in UIKit Dynamics and Visual Effects Mission Friday 10:00AM Cocoa Touch Best Practices Presidio Friday 1:30PM What s New in Internationalization Pacific Heights Friday 9:00AM New UIKit Support for International User Interfaces Nob Hill Thursday 2:30PM

188 Labs Interface Builder and Auto Layout Lab Developer Tools Lab C Thursday 2:30PM

189

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ios DeCal : Lecture 2 Structure of ios Applications: MVC and Auto Layout

ios DeCal : Lecture 2 Structure of ios Applications: MVC and Auto Layout ios DeCal : Lecture 2 Structure of ios Applications: MVC and Auto Layout Overview : Today s Lecture Model View Controller Design Pattern Creating Views in Storyboard Connecting your Views to Code Auto

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

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

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

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

TL;DR: Interface builder is the tool within Xcode for creating a User Interface via a GUI.

TL;DR: Interface builder is the tool within Xcode for creating a User Interface via a GUI. Week 8 Lab Comp327 week 8 lab for week commencing 12 November 2018. Interface Builder TL;DR: Interface builder is the tool within Xcode for creating a User Interface via a GUI. Interface Builder has been

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

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

AUTO LAYOUT IS A UNICORN

AUTO LAYOUT IS A UNICORN AUTO LAYOUT IS A UNICORN WILD AND FREE. MAGIK AWAITS, COME AND SEE. Hi there folks! -Art credit: Elinor, 5 years old. ABOUT ME SousChef YOUR DIGITAL COOKING ASSISTANT 100K+ Users Mac, iphone, and ipad

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

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

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

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

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 Auto Layout. Building Adaptive Layouts For ios. Keith Harrison. Web: useyourloaf.com Version: 1.0 ( ) Copyright 2018 Keith Harrison

Modern Auto Layout. Building Adaptive Layouts For ios. Keith Harrison. Web: useyourloaf.com Version: 1.0 ( ) Copyright 2018 Keith Harrison Building Adaptive Layouts For ios Keith Harrison Web: useyourloaf.com Version: 1.0 (2018-10-01) Copyright 2018 Keith Harrison Contents 1 Introduction 1 Why Learn Auto Layout?........................ 1

More information

Localization Best Practices on tvos

Localization Best Practices on tvos Session App Frameworks #WWDC17 Localization Best Practices on tvos 248 Joaquim Lobo Silva, Internationalization Software Engineer 2017 Apple Inc. All rights reserved. Redistribution or public display not

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Power, Performance, and Diagnostics

Power, Performance, and Diagnostics Core OS #WWDC14 Power, Performance, and Diagnostics What's new in GCD and XPC Session 716 Daniel Steffen Darwin Runtime Engineer 2014 Apple Inc. All rights reserved. Redistribution or public display not

More 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

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

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

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

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

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

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

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

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

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

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

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

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

What s New in Core Image Media #WWDC15 What s New in Core Image Session 510 David Hayward Engineering Manager Tony Chu Engineer Alexandre Naaman Lead Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display

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

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

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

Working with Metal Overview

Working with Metal Overview Graphics and Games #WWDC14 Working with Metal Overview Session 603 Jeremy Sandmel GPU Software 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission

More 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

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 LLDB. Debug your way to fame and glory #WWDC15. Developer Tools. Session 402

What s New in LLDB. Debug your way to fame and glory #WWDC15. Developer Tools. Session 402 Developer Tools #WWDC15 What s New in LLDB Debug your way to fame and glory Session 402 Kate Stone Software Behavioralist Sean Callanan Master of Expressions Enrico Granata Data Wizard 2015 Apple Inc.

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

CSC 581: Mobile App Development Spring 2018

CSC 581: Mobile App Development Spring 2018 CSC 581: Mobile App Development Spring 2018 Unit 2: Introduciton to the UIKit UIKit, UIViews UIControl subclasses 1 UIKit the UIKit is a code framework for building mobile apps the foundational class for

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

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

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

ITP 342 Mobile App Dev. Animation

ITP 342 Mobile App Dev. Animation ITP 342 Mobile App Dev Animation Views Views are the fundamental building blocks of your app's user interface, and the UIView class defines the behaviors that are common to all views. Responsibilities

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

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

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

Getting Published in Apple News

Getting Published in Apple News Media #WWDC16 Getting Published in Apple News Session 502 Ryan Griggs Apple News 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple.

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

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

In the first class, you'll learn how to create a simple single-view app, following a 3-step process:

In the first class, you'll learn how to create a simple single-view app, following a 3-step process: Class 1 In the first class, you'll learn how to create a simple single-view app, following a 3-step process: 1. Design the app's user interface (UI) in Xcode's storyboard. 2. Open the assistant editor,

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

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

Introducing SiriKit. Hey Siri, say hello to apps #WWDC16. App Frameworks. Session 217

Introducing SiriKit. Hey Siri, say hello to apps #WWDC16. App Frameworks. Session 217 App Frameworks #WWDC16 Introducing SiriKit Hey Siri, say hello to apps Session 217 Robby Walker SiriKit Engineering Brandon Newendorp SiriKit Engineering Corey Peterson SiriKit Design 2016 Apple Inc. All

More information

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

ios 9 Day by Day Also by shinobicontrols This version was published Scott Logic Ltd

ios 9 Day by Day Also by shinobicontrols This version was published Scott Logic Ltd ios 9 Day by Day This version was published 2016-01-13 2014-2016 Scott Logic Ltd Also by shinobicontrols About this book Welcome to ios 9 Day by Day, the latest in our Day by Day series covering all that

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

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

Mobile Application Programming. Layout Techniques

Mobile Application Programming. Layout Techniques Mobile Application Programming Layout Techniques Legend View Controller Containers & Content Window Container View Content View View Property View Controller Reference Delegate Root View Header View Add

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

Editing Media with AV Foundation

Editing Media with AV Foundation Editing Media with AV Foundation Overview and best practices Eric Lee iphone Engineering 2 What You ll Learn Why and when you should use AV Foundation editing Concepts underlying manipulation of timed-based

More information