Upgrade to Pro — share decks privately, control downloads, hide ads and more …

WWDC 2019 Thoughts and Takeaways

WWDC 2019 Thoughts and Takeaways

JJ Lin (LINE Taiwan)
Presentation at LINE x iOS@Taipei , WWDC recap
https://iostaipei.kktix.cc/events/linexiostaipei

53850955f15249a1a9dc49df6113e400?s=128

LINE Developers
PRO

July 03, 2019
Tweet

Transcript

  1. WWDC Thoughts and Takeaways JJ Lin, LINE iOS Developer #iOS@Taipei

    #LINE #WWDC2019
  2. None
  3. WWDC 2019 • June 3-7 • San Jose, California •

    Sessions • Technology Labs • App Store Labs • Pro Studio
  4. None
  5. None
  6. UIView-Encapsulated-Layout-Height Conflict constraints

  7. estimatedItemSize Image Source: WWDC 2016

  8. estimatedItemSize Image Source: WWDC 2016

  9. estimatedItemSize Image Source: WWDC 2016

  10. UICollectionViewFlowLayoutAutomaticSize Image Source: WWDC 2016

  11. Solution • Make one constraint breakable, with lower priority (999)

    • Use UICollectionView CompositionalLayout (iOS13+)
  12. UIKit deprecated after SwiftUI released? of course not

  13. UITableView -> List UICollectionView -> HStack / VStack ? UICollectionView

    CompositionalLayout UICollectionView DiffableDataSource
  14. CompositionalLayout • Orthogonal Scrolling • FlowLayout • CollectionView in collectionView

    • Difficult to reuse • CompositionalLayout • Reusable orthogonal section! • section.orthogonalScrollingBehavior = .continuous Image Source: WWDC 2019
  15. CompositionalLayout LayoutDimension • absolute • estimated ◦ might still meet

    UIView-Encapsulated-Layout conflict, or AutoresizingMaskLayoutConstraint conflict on CollectionLayoutGroup ◦ need to set cell constraint breakable, with lower priority (999) • fractional ◦ auto resize after rotation / bound change
  16. DiffableDataSource performBatchUpdates() apply()

  17. DiffableDataSource Snapshots Truth of UI state Unique identifiers for sections

    and items No more IndexPaths Source: WWDC 2019
  18. Demo Source: WWDC 2019

  19. References WWDC 2016: What's New in UICollectionView in iOS 10

    WWDC 2018: A Tour of UICollectionView WWDC 2019: Advances in Collection View Layout WWDC 2019: Advances in UI Data Sources
  20. Pro Studio

  21. None
  22. Image Source: WWDC App

  23. Mac Pro Interior System in AR

  24. 8K Video Editing

  25. Hundreds tracks processing Image Source: WWDC App

  26. Pro Display XDR

  27. Reality Composer Create/Edit AR on Mac Play on iPad

  28. Reality Composer Create/Edit AR on iPad

  29. ARKit 3 People Occlusion

  30. One more thing...

  31. We are Hiring! iOS Developer Android Developer QA / Automation

    Engineer Front-end Engineer Back-end Engineer Data Engineers Security Engineer Developer Relations More Info: https://career.linecorp.com https://lin.ee/dL8kXg
  32. Thank you