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

Improve Event log using Sourcery in iOS

Improve Event log using Sourcery in iOS

47addc68d5b643d7ee875059b42404eb?s=128

Suguru Kishimoto

October 09, 2018
Tweet

Transcript

  1. Cookpad Inc. 2018.10.09(TUE) potato tips #55 4PVSDFSZΛ࢖ͬͯΠϕϯτϩά࣮૷Λվળͨ͠࿩ 4VHVSV,JTIJNPUP

  2. Cookpad Inc. All Rights Reserved. ΠϕϯτϩάΛJ04ΞϓϦʹ࢓ࠐΉ

  3. Cookpad Inc. All Rights Reserved. ˞,PNFSDP΋౰ॳ͸͜Μͳײ͡ͰΨϯΨϯ࢓ࠐΉͷΛ༏ઌ͍ͯͨ͠

  4. Cookpad Inc. All Rights Reserved.

  5. Cookpad Inc. All Rights Reserved. ྑ͘ͳ͍఺ wΠϕϯτ໊΍ύϥϝʔλ໊͕ϋʔυίʔσΟϯάʹͳ͍ͬͯΔ wύϥϝʔλ໊ʹඥ෇͚Δܕ͕"OZͳͷͰ࣮࣭ͳΜͰ΋ೖΕΒΕΔ wΠϕϯτ໊౳ͷఆ͕ٛ·ͱ·ͬͨ৔ॴ͕ͳ͍ͷͰ໎ࢠʹͳΓ͕ͪ

  6. վળ͍ͯ͘͠

  7. Cookpad Inc. All Rights Reserved.

  8. Cookpad Inc. All Rights Reserved.

  9. Cookpad Inc. All Rights Reserved.

  10. Cookpad Inc. All Rights Reserved.

  11. Cookpad Inc. All Rights Reserved.

  12. Cookpad Inc. All Rights Reserved.

  13. Cookpad Inc. All Rights Reserved.

  14. Cookpad Inc. All Rights Reserved.

  15. Cookpad Inc. All Rights Reserved.

  16. Cookpad Inc. All Rights Reserved.

  17. Cookpad Inc. All Rights Reserved. 4XJGUΒ͍࣮͠૷ʹͳͬͨ

  18. Cookpad Inc. All Rights Reserved. ͔͠͠ɺɺɺ

  19. Cookpad Inc. All Rights Reserved.

  20. Cookpad Inc. All Rights Reserved. FWFOU/BNFɺQBSBNFUFSTΛຖճ ࢥ͍ΛࠐΊͯॻ͘ͷ͸େม☠

  21. ࣗಈੜ੒͍ͨ͠…!

  22. Cookpad Inc. All Rights Reserved. LS[ZT[UPG[BCMPDLJ4PVSDFSZ Meta-programming for Swift, stop

    writing boilerplate code.
  23. Cookpad Inc. All Rights Reserved. 4PVSDFSZͱ͸ wςϯϓϨʔτΛݩʹɺ4XJGUͷίʔυΛੜ੒͢Δπʔϧ wର৅ͱͳΔ4XJGUͷϑΝΠϧΛೖྗ͠ɺςϯϓϨʔτʹଇͬͯੜ੒ ͨ͠ϑΝΠϧΛग़ྗͯ͘͠Ε͏ wTUFODJMͱݺ͹ΕΔ4XJGUͷͨΊͷςϯϓϨʔτݴޠΛ࢖༻͢Δ

    w3VO4DSJQUͰ࣮ߦ͢ΔΑ͏ʹ͢Ε͹Ϗϧυ࣌ʹࣗಈੜ੒ͯ͘͠ΕΔ w$-*ͰίϚϯυΛXBUDI͢Δͱɺมߋ͕͋Δ౓ʹੜ੒͠௚ͯ͘͠Ε Δ
  24. Cookpad Inc. All Rights Reserved.

  25. Cookpad Inc. All Rights Reserved. Ϗϧυ։࢝લʹੜ੒͢ΔΑ͏ʹɺ
 #VJMEͷ1SFBDUJPOTͰ3VO4DSJQUΛఆٛ

  26. Cookpad Inc. All Rights Reserved.

  27. Cookpad Inc. All Rights Reserved.

  28. Cookpad Inc. All Rights Reserved. ·ͱΊ wૉͷ··ͷΠϕϯτϩά࢓ࠐΈʹͪΐͬͱखΛՃ͑Δ͜ͱͰ4XJGUΒ͍͠ ॻ͖ํʹͳͬͯॻ͖΍͘͢ͳΔ wҰํɺϘΠϥʔϓϨʔτʹͳΓ͕ͪͳίʔυ͕Ͱͯ͘ΔͷͰɺࣗಈੜ੒Ͱ ͖ΔͷͰ͋Ε͹ࣗಈੜ੒͢Δ

    w4PVSDFSZྑ͍ wTUFODJMςϯϓϨʔτॻ͘ͷ೉͍͠ʜ w݁Ռɺ ,PNFSDPͰ͸ Πϕϯτϩάͷ࢓ࠐΈ͕؅ཧ͠΍͘͢ɺ࢓ࠐΈқ͘ ͳͬͨ
  29. Cookpad Inc. All Rights Reserved. ࠓճͷαϯϓϧͷஔ͖৔ॴ IUUQTHJUIVCDPNTHSLTNU4PVSDFSZ%FNP

  30. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠