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

iOS14 UICollectionView

iOS14 UICollectionView

UICollectionView's update information in iOS14(WWDC2020)

[email protected]

July 10, 2020
Tweet

Other Decks in Technology

Transcript

  1. QPUBUPUJQT
    6*$PMMFDUJPO7JFX
    J04
    https://pixabay.com/ja/photos/%E3%83%9C%E3%83%BC%E3%83%89-%E3%83%81%E3%83%A7%E3%83%BC%E3%82%AF-%E3%83%93%E3%82%B8%E3%83%8D%E3%82%B9-3695073/

    View full-size slide

  2. ෱ԬͰiOSΤϯδχΞ΍͍ͬͯ·͢ɻ
    @stzn3
    shiz(ͣ͠)
    @shiz
    stzn
    ։ൃܦݧݴޠ:

    Swift Kotlin Javascript PHP C# Java Go…
    iOSDC 2020 ελοϑ

    View full-size slide

  3. %JGGBCMF%BUB4PVSDF
    w4OBQTIPUΛ༻͍ͨ6*ͷঢ়ଶͷγϯϓϧͳ؅ཧ
    w4JOHMFTPVSDFPGUSVUI

    *OEFY1BUI 4FDUJPOBOE*UFNJEFOUJ
    f
    i
    FS
    wࣗಈͰલճͷঢ়ଶͱͷࠩ෼ΛܭࢉɺΞχϝʔγϣ
    ϯͷ࣮ߦ
    https://developer.apple.com/documentation/uikit/uicollectionviewdiffabledatasource/

    View full-size slide

  4. $PNQPTJUJPOBM-BZPVU
    wෳࡶͳϨΠΞ΢τΛখ͍͞෦඼Λ૊Έ߹ΘͤΔ͜
    ͱͰ؆୯ʹߏஙͰ͖Δ
    wએݴతʹίʔυΛॻ͚ΔͷͰಡΈ΍͍͢
    wηΫγϣϯ͝ͱʹϨΠΞ΢τΛߏ੒Ͱ͖Δ
    https://developer.apple.com/documentation/uikit/uicollectionviewcompositionallayout

    View full-size slide

  5. 4FDUJPO4OBQTIPU
    https://pixabay.com/ja/photos/%E3%82%AB%E3%83%A1%E3%83%A9-%E5%86%99%E7%9C%9F-%E3%83%9D%E3%83%A9%E3%83%AD%E3%82%A4%E3%83%89%E5%86%99%E7%9C%9F-514992/

    View full-size slide

  6. https://developer.apple.com/documentation/uikit/nsdiffabledatasourcesectionsnapshot

    View full-size slide

  7. https://developer.apple.com/documentation/uikit/uicollectionviewdiffabledatasource/3600966-sectionsnapshothandlers

    View full-size slide

  8. https://developer.apple.com/documentation/uikit/uicollectionviewdiffabledatasource/reorderinghandlers

    View full-size slide

  9. -JTUT
    https://pixabay.com/ja/photos/%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA-%E6%9B%B8%E7%B1%8D-%E7%9F%A5%E3%81%A3%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99-419254/

    View full-size slide

  10. -JTUT
    w6*5BCMF7JFXͷΑ͏ͳ֎ݟ
    wεϫΠϓͰ͖Δ
    wσϑΥϧτͷϨΠΞ΢τ͕༻ҙ͞Ε͍ͯΔ
    w$PNQPTJUJPOBM-BZPVUͷ্ʹ࡞੒Ͱ͖Δ

    View full-size slide

  11. ϨΠΞ΢τͷྫ
    https://developer.apple.com/documentation/uikit/uicollectionviewcompositionallayout/3600951-list
    https://developer.apple.com/documentation/uikit/uicollectionlayoutlistcon
    f
    i
    guration

    View full-size slide

  12. ϨΠΞ΢τͷྫ
    https://developer.apple.com/documentation/uikit/uicollectionviewcompositionallayout/3600951-list
    https://developer.apple.com/documentation/uikit/uicollectionlayoutlistcon
    f
    i
    guration

    View full-size slide

  13. ϨΠΞ΢τͷྫ
    https://developer.apple.com/documentation/uikit/uicollectionviewcompositionallayout/3600951-list
    https://developer.apple.com/documentation/uikit/uicollectionlayoutlistcon
    f
    i
    guration

    View full-size slide

  14. ଞʹ΋৽͍͠Ϋϥε΍"1*͕ͨ͘͞Μ
    w6*$PMMFDUJPO7JFX-JTU$FMM
    w)FBEFSBOE'PPUFS
    wTJEFCBSJOJ1BE04 MJLFTZTUFNBQQT

    https://developer.apple.com/documentation/uikit/uicollectionviewlistcell

    View full-size slide

  15. 7JFX $FMM

    $POGJHVSBUJPO
    https://pixabay.com/ja/photos/%E3%83%8F%E3%83%B3%E3%83%9E%E3%83%BC-%E3%83%9E%E3%83%AC%E3%83%83%E3%83%88-%E3%83%84%E3%83%BC%E3%83%AB-682767/

    View full-size slide

  16. https://developer.apple.com/documentation/uikit/uilistcontentcon
    f
    i
    guration/3601027-cell

    View full-size slide

  17. https://developer.apple.com/documentation/uikit/uilistcontentcon
    f
    i
    guration/3601027-cell

    View full-size slide

  18. https://developer.apple.com/documentation/uikit/uilistcontentcon
    f
    i
    guration/3601052-valuecell

    View full-size slide

  19. https://developer.apple.com/documentation/uikit/uilistcontentcon
    f
    i
    guration/3601046-subtitlecell

    View full-size slide

  20. $FMM3FHJTUSBUJPO
    https://pixabay.com/ja/photos/%E3%82%BF%E3%82%A4%E3%83%97%E3%83%A9%E3%82%A4%E3%82%BF%E3%83%BC-%E6%9B%B8%E3%81%8D%E3%81%BE%E3%81%99-%E3%82%BF%E3%83%83%E3%83%97-3711589/

    View full-size slide

  21. https://developer.apple.com/documentation/uikit/uicollectionview/cellregistration
    https://developer.apple.com/documentation/uikit/uicollectionview/3600945-dequeuecon
    f
    i
    guredreusablecell

    View full-size slide

  22. αϯϓϧίʔυ͓͢͢Ί
    https://developer.apple.com/documentation/uikit/views_and_controls/collection_views/
    implementing_modern_collection_views

    View full-size slide

  23. ͝ڵຯ͕͋Ε͹
    https://qiita.com/shiz/items/4227accc7d13ae439d1d

    View full-size slide

  24. ࠷ޙʹએ఻

    View full-size slide

  25. J04%$νέοτൃചத
    wΦϯϥΠϯ։࠵
    w ౔
    d ݄ॕ

    wΞʔϦʔόʔυνέοτ ԁ ೔
    ·Ͱ
    wύϯϑϨοτͷ಺༰΋ྫ೥Ҏ্ʹॆ࣮
    wϊϕϧςΟ͸༣ૹͰࣄલʹ͓ಧ͚
    wৄ͘͠͸8FCͰ https://iosdc.jp/2020/

    View full-size slide

  26. ͋Γ͕ͱ͏͍͟͝·ͨ͠

    View full-size slide