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

スター数689のライブラリを作る為にやった事

naru-jpn
November 17, 2016

 スター数689のライブラリを作る為にやった事

半年間ライブラリを作り続けた結果一つ成功したので書いてみました

naru-jpn

November 17, 2016
Tweet

More Decks by naru-jpn

Other Decks in Programming

Transcript

  1. ελʔ਺689ͷϥΠϒϥϦΛ࡞Δҝʹ΍ͬͨࣄ
    Twitter: @naruchigi, GitHub: naru-jpn
    2016/11/16 ୈ5ճελʔτΞοϓiOSษڧձ
    Timers inc. Naruki Chigira

    View full-size slide

  2. ൒೥ؒɺຖ݄1ͭͣͭϥΠϒϥϦΛ࡞ͬͨ
    ࢼߦࡨޡ
    689

    View full-size slide

  3. View2ViewTransition
    CustomTransitionͷ࣮૷Λαϙʔτ͢ΔUIܥϥΠϒϥϦ
    https://github.com/naru-jpn/View2ViewTransition

    View full-size slide

  4. View2ViewTransition
    CustomTransitionͷ࣮૷Λαϙʔτ͢ΔϥΠϒϥϦ
    https://github.com/naru-jpn/View2ViewTransition

    View full-size slide

  5. Ұ͚ͭͩϧʔϧΛܾΊͨ
    ʮελʔԼ͍͞ʯېࢭ

    View full-size slide

  6. 1. ϥΠϒϥϦΛ࡞Δ
    2. CocoaControls
    ެ։·Ͱͷεςοϓ

    View full-size slide

  7. 1. ϥΠϒϥϦΛ࡞Δ

    View full-size slide

  8. ϥΠϒϥϦΛ࡞Δ
    ɾϥΠϒϥϦͷ໨త/༻్ΛܾΊΔ
    ɾ࣮૷
    ɾREADME

    View full-size slide

  9. ϥΠϒϥϦΛ࡞Δ
    ϥΠϒϥϦͷ໨త/༻్Λ໌֬ʹ͢Δ
    ൚༻తͳ΋ͷΛ࡞Γͨ͘ͳΓ͕ͪ
    ύϥϝʔλΛ༻ҙͯ͠ɺΧελϚΠζͰ͖ΔΑ͏ʹͯ͠… etc.
    1ͭͷࣄ্͑͞ख͘Ͱ͖Ε͹ྑ͍

    View full-size slide

  10. ϥΠϒϥϦΛ࡞Δ
    ࣮૷
    ɾ࠷৽ͷswiftόʔδϣϯͰॻ͘
    ɾCarthage, CocoaPodsରԠ
    ɾαϯϓϧϓϩδΣΫτ

    View full-size slide

  11. ϥΠϒϥϦΛ࡞Δ
    README
    ɾαϯϓϧίʔυ͸؆୯͞ΛΞϐʔϧ
    ɾӳޠʢద౰Ͱେৎ෉ʣ
    ɾΊΜͲ͍͚͘͞Ͳඞਢ
    ɾUIܥ͸GIFΞχϝ͔εΫγϣ

    View full-size slide

  12. ϥΠϒϥϦΛ࡞Δ
    ʮREADMEΛಡΜͩਓʹศར͞ͱ͔࢖༻ײΛ఻͑Δʯ

    View full-size slide

  13. 2. CocoaControls
    IUUQTXXXDPDPBDPOUSPMTDPN

    View full-size slide

  14. CocoaControls
    UIܥͷΦʔϓϯιʔεϥΠϒϥϦ͕ू·Δ

    View full-size slide

  15. CocoaControls
    ϥΠϒϥϦΛܝࡌͯ͠ɺΑΓଟ͘ͷਓʹΞΫηεͯ͠ཉ͍͠

    View full-size slide

  16. CocoaControls
    ࠨ্͕Ұ൪ΞΫηε͕ଟ͍

    View full-size slide

  17. CocoaControls
    Ұ౓Ͱ΋ϦδΣΫτ͞ΕΔͱྲྀ͞Εͯࠨ্ʹදࣔ͞Εͳ͍

    View full-size slide

  18. CocoaControls

    View full-size slide

  19. CocoaControls
    1. ϥΠϒϥϦ࢖༻࣌ͷεΫϦʔϯγϣοτ
    2. ෼͔Γ΍͍͢આ໌จ
    3. ϥΠηϯεΛؚΜͰ͍Δ
    4. ࢖͍ํ͕Θ͔ΔΑ͏ͳαϯϓϧϓϩδΣΫτ
    ਃ੥͢Δͱ͖ʹ֬ೝ͢Δࣄ ✅

    View full-size slide

  20. CocoaControls
    ʮCocoaControls΁ͷਃ੥͸Ұൃউෛ☝ʯ

    View full-size slide

  21. CocoaControls
    ͳΜͰҰൃউෛʹͩ͜ΘΔͷʁ

    View full-size slide

  22. CocoaControls
    ʮॳ଎͕େࣄʯ

    View full-size slide

  23. GitHub Trending
    IUUQTHJUIVCDPNUSFOEJOH

    View full-size slide

  24. GitHub Trending
    ϦϙδτϦिؒελʔ਺ϥϯΩϯά

    View full-size slide

  25. GitHub Trending
    ϦϙδτϦिؒελʔ਺ϥϯΩϯά

    View full-size slide

  26. GitHub Trending
    GitHubͷτϨϯυΛΩϟονΞοϓͯ͘͠ΕΔਓʑ͕͍Δ

    View full-size slide

  27. Twitter
    SwiftϥΠϒϥϦͷτϨϯυΛΩϟονΞοϓ͢ΔΞΧ΢ϯτ
    Cocoa Dev Blogs (@CocoaDevBlogs)
    iosdev (@iosdevio)
    Swift Trends (@swiftgit)
    ϑΥϩϫʔ਺
    6,249
    767
    5,345

    View full-size slide

  28. + Blog
    @NatashaTheRobot

    View full-size slide

  29. Twitter + Blog
    ʮෆ଍͕ͪ͠ͳιʔγϟϧྗΛิͬͯ΋Β͏ʯ

    View full-size slide

  30. ;Γ͔͑Γ
    ʮෆ଍͕ͪ͠ͳιʔγϟϧྗΛิͬͯ΋Β͏ʯ
    ʮREADMEΛಡΜͩਓʹศར͞ͱ͔࢖༻ײΛ఻͑Δʯ
    ʮॳ଎͕େࣄʯ

    View full-size slide

  31. ͜ΕͰ͋ͳͨ΋େྔελʔ֫ಘʂ

    View full-size slide

  32. ͱݴ͍͍ͨͱ͜ΖɺɺɺͰ΋ελʔ͸ʰ෭࢈෺ʱ⭐

    View full-size slide

  33. ৭ʑͳਓʹ࢖ͬͯ΋Β͏ͱɺ୔ࢁͷϑΟʔυόοΫ͕໯͑Δ
    issue͕ͨͯΒΕͯӳޠͰ΍ΓͱΓͨ͠Γ…

    View full-size slide

  34. ৭ʑͳਓʹ࢖ͬͯ΋Β͏ͱɺ୔ࢁͷϑΟʔυόοΫ͕໯͑Δ
    RAEDMEΛϩγΞޠʹ຋༁ͯ͘͠ΕΔํ͕͍ͨΓ…!

    View full-size slide

  35. OSS׆ಈͷ୉ޣຯͰ͢Ͷ

    View full-size slide

  36. ελʔ਺ʹͩ͜ΘΒָ͍ͣ͠044׆ಈΛ͍͖͍ͯͨ͠Ͱ͢Ͷ

    View full-size slide