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

LINE Developers

July 03, 2019
Tweet

More Decks by LINE Developers

Other Decks in Technology

Transcript

  1. WWDC 2019 • June 3-7 • San Jose, California •

    Sessions • Technology Labs • App Store Labs • Pro Studio
  2. Solution • Make one constraint breakable, with lower priority (999)

    • Use UICollectionView CompositionalLayout (iOS13+)
  3. UITableView -> List UICollectionView -> HStack / VStack ? UICollectionView

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

    • Difficult to reuse • CompositionalLayout • Reusable orthogonal section! • section.orthogonalScrollingBehavior = .continuous Image Source: WWDC 2019
  5. 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
  6. 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
  7. 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