Hello everyone! There are more than 120 sessions from WWDC, do you knw which one to watch? Get instruction on how to watch and check out some short reviews about the talks. Stick with me and I would like to share my thoughts on the WWDC developers conference. This post should be helpful not only for those who have simply heard about this event, but also for those who have already had a chance to watch some of the sessions. There is a lot of material, so I would advise you to focus your attention on what is of most interest to you.
What is WWDC?
The main points of WWDC 2017.
When, why and how to watch the WWDC sessions.
Sessions worth watching for every developer.
What is WWDC?
NB If you already know about what’s new at WWDC 2017, you can move on to the description of how to view sessions or to my personal rating of them.
The WWDC is a worldwide conference for developers on Apple platforms. It has been held since 1983 and recordings of some past talks are easy to find on the internet.
For example, here is a Virtual Reality session from WWDC 1995: https://www.youtube.com/watch?v=6XEDlgtLmAs.
Apple brings about 1000 of its engineers to WWDC to answer developers’ questions and to hold lots of sessions in which they tell you about what’s new in software. These are the sessions I am going to talk about below.
I am thinking you know all this already, so let’s move on to the main points this year.
The main things that are new at WWDC are demonstrated during the Platforms State of the Union session. This year there were quite a lot of them. I will tell you about the most interesting ones.
It all began with a demonstration of Playground on the iPad. At Apple they really want you to teach your children to program, especially using their platforms. You can even program robots using the iPad.
iOS 11 now only supports 64-bit devices, and applications compiled exclusively for 32-bit architecture cannot be launched.
Apple has majorly upgraded Xcode (in my view this is its most productive year):
New Source Editor
New Source EditorSource Editor, written in pure Swift, has been ported from Playground onto the iPad. It is very advanced now (for example, it supports refactoring in Swift). They have promised to make it possible to add one’s own transformations.
Markdown Editor inside Xcode.
Over 300 new checks and rules for the compiler and analyser.
Speaking about Xcode performance: they have speeded up the file-opening by 3. And now 60 fps when scrolling through lines of code and now jump-to-line action is 50 times faster.
The new Indexer is now able to index and build at the same time. Fast Open (⌘ + ⇧ + O) works 35 times faster and Project Search (⌘ + ⇧ + F) up to 50 times faster inside large projects.
The new Build System is written entirely in Swift. They are promising to speed up the build of large projects to make them 2.5 times faster.
The new Source Control (apparently not in Swift), integration with GitHub and a whole new tab with various functions (branches, tags etc.).
Now when moving a file to the folder inside Xcode the system automatically moves this file into the right folder in your Finder (we lived to see this! 🎉🎉).
View Hierarchy Debugger now for SpriteKit and SceneKit.
Runtime Analysis, which was presented in Xcode a year ago, now has two new types of sanitiser: Main Thread API Checker (for example, a potential UI call not from the main thread 😱) and Undefined Behaviour Sanitizer (for example, signed integers overflows).
Runtime Analysis inside Xcode 9
The new Swift version, with painless migration process. Also, Swift 3.2 and Swift 4 will work together (via a single toolchain). All the main features can be viewed here: https://github.com/ole/whats-new-in-swift-4. They are promising to speed up build projects which have mix-and-match of Swift and Objective-C by 40%. And, what’s more, to speed up by a factor of 2 build modules which have Whole Module Optimization.
Important changes were also presented in respect of testing:
Advanced CI with Xcode Server.
Several applications within a single UI tests session (convenient for testing those deep links), and they are promising to speed up elements query tenfold.
Remote debugging via Wi-Fi.
Drag and Drop API with a focus on the iPad. You can see how it works here: https://www.youtube.com/watch?v=F-QA-qAEMBw. There are a lot of sessions devoted to this API, but it is not relevant to everyone, so I won’t spend a long time on it.
Dynamic Type for custom fonts. It seems that at Apple they want us to make more accessible applications.
MusicKit (API from Apple Music for your applications).
HEVC and HEIF (new format for photos and videos from Apple). It is said that files can be half the size and can be converted back excellently. 500px guys are already going full out testing this.
Core ML which allows you to apply deep machine learning models in a single line of code 👾! Of course, it has its issues, but Apple is already giving its API for Language Processing and Computer Vision, opening up the path for new opportunities.
Metal 2. I am not an expert in this field, but I have heard that Apple has added capabilities for additional optimisations.
VR and SteamVR for macOS. Apple is also selling External Graphics Development Kit for developers.
ARKit is an augmented reality on iOS. Very cool stabilisation and easy integration with SpriteKit and ScreneKit. There are some cool examples. The bad news is that it is only for iPhone 6s and higher.
And a couple more changes which are deserving of your attention, although they weren’t demonstrated in the Platforms State of the Union (thanks, Artem Loenko to mention part of them).
No more own custom ratting windows on your application; use only SKStoreReviewController: https://9to5mac.com/2017/06/09/app-rating-custom-prompts-app-store-banned/.
MapKit now has a clustering identifier, which allows you to use basic maps comfortably, even if there are too many objects.
MapKit clustering identifier
Now has NFC support (there are lots of limitations, but if you are interested: Introducing Core NFC).
PDFKit for advanced work with PDF (Hello, PSPDFKit). Introducing PDFKit on iOS.
@available is now also available in Objective-C.
DeviceCheck has come out: a two-bit flag which is bound to a device.
In the future we are awaiting dyld 3.0 which is destined to speed up applications launching.
Watching WWDC 2017 sessions
All the sessions from WWDC 2017 are already available online on the Apple web page: https://developer.apple.com/videos/wwdc2017/.
The main questions developers are going to ask are: Why should I watch them? How can I select the most interesting sessions? How can I watch everything?
I will start with the question: do you use weak or strong for IBOutlets? And why?
The answer to this question is in one of the talks at WWDC 2015. The session is entitled, Implementing UI Designs in Interface Builder, and the answer comes at 31:30.
What am I getting at? My point is that the answers to a lot of questions which arise during the course of day-to-day developer work (or for example, some tips and tricks for working with the animation or Core Data), can be found at WWDC. There are lot of sessions full of those sorts of small details which are helpful for any advanced iOS developer.
How to select a session to watch?
Watch the talks based on what you are interested in
In the first instance look out for those talks which are related to your current topic of work. For example, if you work a lot with Core Data, at least try to check sessions about multiple threads, GCD, what’s new in Foundation and Core Data itself. And don’t forget that the sessions contain references to other sessions (and not necessarily from the same year).
Make your selection based on rating and description
A couple of weeks after WWDC a sufficient number of articles will come out in which people will share the most interesting talks. Here are some examples from this year: Top 10 WWDC 2017 Videos and WWDC 2017 Viewing Guide. But it is not worth relying on what somebody else has chosen. For example, this year there were two interesting sessions which didn’t have expressive titles (The Keys to a Better Text Input Experience and Efficient Interactions with Frameworks). No one talked about them, but nevertheless they are worth your attention.
Work as a team
Share out responsibilities for watching WWDC sessions within your team. For example, if there are five developers, you can each watch 3–5 talks and prepare a mini-presentation on the most interesting points. I like this option best because as you watch the sessions there is time to thoughtfully analyse the details and the slides and notes you prepare can be used later as crib sheets.
How can you watch everything?
Of course, there is no point watching everything. If you watch everything that catches your interest, regardless of relevance, by the time September comes around you will have forgotten everything you have heard. But if you want to watch more sessions than you have free time, the following tips may help you, as they once helped me.
Context. View the slides before watching the session/s. Almost always they sum up the topics of the talk very well (possibly the talk won’t be what you need). Also slides help you to find your bearings: where to find what you are interested in, so as not to have to watch the whole session in its entirety.
Speed. Watch the session/s at various speeds. For example, What’s New is fine to watch at a speed of x1.5–1.7. The same VLC and application from the previous point can handle this. If, on the other hand, you have decided to watch it in Safari, here is a JS script from Artem Loenko:
document.getElementsByTagName(“video").playbackRate = 1.5
Relevance. It doesn’t always make sense to view a session in detail. Possibly you will require the technology mentioned in a given session in September-October, when it will be introduced into your application. If you watch in spurts or browse through the slides, you can get a clear understanding of the subject and can come back to it when you need to.
Tools. Use third-party applications and tables to highlight key points. For example, this informal client for viewing WWDC sessions allows you to place bookmarks mid-video, which is very convenient. And you can add comments to a table in respect of the most interesting places in the talk.
This year I watched multiple sessions and have selected the ones for you which all iOS developers need to watch. For the sake of convenience, the talks are divided into the following categories: Foundation, Lead, UI, Debug, Testing, AppStore, Featured.
And I have marked my personal favourites with the sign 🍿.
402 What’s New in Swift
Basically, this is no longer so much about what’s new in Swift, but about what’s going on ‘under the bonnet’. If you write in this programming language, then you need to watch this talk for your own general knowledge. If you are looking for the distinctives of the new Swift, then go here: https://github.com/ole/whats-new-in-swift-4.
212 What’s New in Foundation
Here studying the slides should be enough, but the new KeyPaths and Codable systems are covered exhaustively.
244 Efficient Interactions with Frameworks
COW, work with data, bridging, strings, regular expressions and much more in this under-valued talk.
Lead (if you lead a team and want to create ideal applications)
238 Writing Energy Efficient Apps
If your application uses up too much energy, users will delete it. Processing, Networking, Location, Graphics — that is what this talk is built around. However, if you have already dug into this subject, you are unlikely to find anything new here.
401 Localizing with Xcode 9
With Xcode 9 a huge amount is automated for the purposes of localisation. The talk discusses problems such as extracting data, currencies and word formation in various languages (e.g. 1 city, 2 cities). If you want to refresh your memory or find out something new, you need to watch this session.
413 App Startup Time: Past, Present, and Future
This talk isn’t so much about the present, as about the future. dyld 3.0 is on its way — with all the ensuing consequences. dlopen/dlsym/dladdr/all_image_infos: if you know any of these words, start watching the talk.
UI (work with visual components)
201 What’s New in Cocoa Touch
Here again, it should be enough to browse the slides, but be ready for some changes to iOS 11.
204 Updating Your App for iOS 11
Following on from the previous talk. At least study the slides.
219 Modern User Interaction on iOS
The first part is not so much about new technologies, as about working with gestures on the system and interacting with them. My personal must-watch for those working with UI.
Interesting fact: 163 UIGestureRecognizers on a normal iPad settings screen.
206 Introducing Password AutoFill for Apps
Obligatory viewing for developers of applications requiring a login. Everyone else needs to know that there are already 25 kinds of UITextContentType, and it is worth using them in applications. Especially with the Apple focus in respect of NLP.
242 The Keys to a Better Text Input Experience
About keyboards. The aim isn’t to sell new API, but to deal with non-standard situations: varying keyboard sizes, on-screen work without tables, the role of input accessory view and the impact of dynamic type.
412 Auto Layout Techniques in Interface Builder
Yes, yes, it’s our beloved AutoLayout. Changing layout when an application is working (especially when it depends on context), the role of dynamic type, a new indentation concept (safe areas) and a couple of case studies: working with percentages in layout and how layout depends on display orientation.
Debug (what programmers do 80% of the time)
404 Debugging with Xcode 9
In my view, this session is a bit drawn out, but I couldn’t not include it in this list because it has some interesting points, such as the improved work of break-points.
407 Understanding Undefined Behavior
If you haven’t yet moved over to Pure Swift, it’s worth watching this talk. It describes the work of Undefined Behavior Sanitizer.
406 Bugs Using Xcode Runtime Tools
What Main Thread Checker, Address Sanitizer and Thread Sanitizer are all about. If you still don’t know what these are, watch the session (or at least browse the slides).
Testing (testing your own application)
414 Engineering for Testability
About extracting logic from VC, creating mocks, the role of DI and the importance of output parameters of any kind. There are also a couple of pieces of advice on UI tests. If you don’t write tests frequently, it is worth watching the talk for your general knowledge.
409 What’s New in Testing
New distinctive features of tests. Most of the advice relates to UI tests, so no need to watch this unless you have to.
AppStore (if you have your own projects or you are responsible for working with the App Store)
301 Introducing the New App Store
You probably know that App Store in iOS 11 has been radically updated. There will be a lot of new features, so you must watch this talk.
302 What’s New in iTunes Connect
A lot of attention is devoted to TestFlight. If you spend even just an hour a week on this wonderful site, it is worth watching the talk.
Featured (these are simply two of my favourite sessions which didn’t make it into any of the categories above)
702 Privacy and Your Apps
Some thoughts about privacy which will soon become a luxury. Along the way you will get acquainted with DeviceCheck.
803 Designing Sound
Wonderful session about the significance of sound (after all we developers still don’t acknowledge this).
If you are a self-respecting developer, when the new iOS comes out you will stop using iOS 9 and will be able to enjoy the full force of iOS. So now is the time to brush up on what’s new and has been announced at WWDC 2016, and make the most of the most basic version of the application intelligently and usefully.
This article was originally published on Alex’s Medium account.
Alexander Zimin, iOS developer