21
Preparing for iOS 9 Tips for future proofing your apps Jesse Collis @sirjec

Preparing for iOS 9 - Melbourne Cocoaheads June 2015

Embed Size (px)

Citation preview

Preparing for iOS 9Tips for futureproofing yourappsJesse Collis@sirjec

11 Tips

1. Autolayout

AutoLayout in iOS 9» Stacked View

» Layout Anchors

» Mysteries of Auto Layout, Part 1 & 2 WWDC 2015

2. Size classes

3. Interface builder& Storyboards

4. NSURLSession

5. Time to add some

Swift

6. Up your warnings

6. Up your warnings GCC_TREAT_WARNINGS_AS_ERRORS = YES

GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = YES

CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES

-Wdeprecated-declarations

7. Build & Run onthe latest betas

8. Increase your minimum

deployment target

9. Debug withaddress sanitiser

10. Read the Xcoderelease notes

Xcode Release Notes» TLDR for WWDC of that year

» You can go back and read them all

11. Drop iOS 7

NOW

Thanks!» @sirjec

» github.com/jessedc