Skip to content

Conferences Condensed: WWDC20

Our favorite sessions from this year

by Team Lickability
Official WWDC20 artwork of a MacBook with stickers on it.

We look forward to WWDC every year, and we know you do, too. As much as we missed seeing all of our pals in San Jose for the conference, we still had a great time watching sessions online and chatting with familiar faces and new friends in our Discord. Keep reading to hear a bit about some of our favorite videos this year.

Advances in UICollectionView

So much of what we do on a daily basis involves the meticulous formatting of data to look great in performant scrolling lists. Several of this year‘s WWDC sessions focused on new technologies that make that possible in both UI​Kit and Swift​UI, and I couldn‘t be happier. Advances in UICollectionView provides a great overview of the new technologies that enable enhancements to lists in UI​Kit. Hello UI​Collection​View​List​Cell and goodbye UI​Table​View. You‘ll definitely want to bookmark all of the 2020 sessions referenced in the session for a deeper dive: Advances in diffable data sources, Lists in UICollectionView, and Modern cell configuration.

Michael Liberatore

Add custom views and modifiers to the Xcode Library

The promise of adding custom views to the Xcode Library goes way back to Xcode 3 with Interface Builder plugins. But this year, Apple brought that idea to SwiftUI via two new protocols called Library​Content​Provider and Library​Item.

No longer will we toil trying to get @IB​Inspectable to work as intended. Now it’s so simple to create a new SwiftUI view and have it show up with sample data right inside the Xcode Library. But Apple didn’t stop at views—they even made it possible to expose custom Modifiers as well. As Anton, the talk’s presenter, put it, this will allow us to discover and learn about all the controls in our apps‘ design systems much more easily and visually than just reading the source code.

mb Bischoff

Build trust through better privacy

This was a great presentation on how Apple handles user privacy. The talk goes over the four key pillars of privacy, what they mean, and how you can implement those best practices into your app to build trust with your users. Here are a few of my takeaways:

On-device processing

Data minimization

Security protections

Transparency and control

Tom DeVuono

Embrace Swift type inference

Leveraging type inference is a fundamental way to learn about generics in Swift. Often we can overlook ways to compose objects in a large project—type inference allows us to omit explicit type annotations without compromising type safety. This is also why we can create complex interfaces within SwiftUI with just a few lines of code, since it relies heavily on type inference at the call sites.

I really appreciated the speaker’s cadence in this talk, since this concept dives into how the Swift compiler infers concrete types without explicitly specifying them.

Daisy Ramos