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

一人iOSエンジニアでも気持ちよく開発できるiOSアプリ開発者になる!

entaku
September 18, 2019

 一人iOSエンジニアでも気持ちよく開発できるiOSアプリ開発者になる!

entaku

September 18, 2019
Tweet

More Decks by entaku

Other Decks in Programming

Transcript

  1. ࣗݾ঺հ • entaku (@entaku19890818) • iOS/AndroidΤϯδχΞʢࣗশʣ • ܦྺ: 
 ͳΜͪΌͬͯSE->


    NWΤϯδχΞ[SIer]->
 αʔόʔαΠυΤϯδχΞ[SIer](java/PHP..etc)->
 iOS/Android ΞϓϦ։ൃ[ελʔτΞοϓ]->
 Vue / Android ΞϓϦ։ൃ @ CBCloud
 ʹͳΓ·͢ • ΞϓϦ։ൃେ޷͖(°˜°)(°˜°)(°˜°)(°˜°) ࣗݾ঺հ
  2. ࣗݾ঺հ • entaku (@entaku19890818) • iOS/AndroidΤϯδχΞʢࣗশʣ • ܦྺ: 
 ͳΜͪΌͬͯSE->


    NWΤϯδχΞ[SIer]->
 αʔόʔαΠυΤϯδχΞ[SIer](java/PHP..etc)->
 iOS/Android ΞϓϦ։ൃ[ελʔτΞοϓ]->
 Vue / Android ΞϓϦ։ൃ @ CBCloud
 ʹͳΓ·͢ • ΞϓϦ։ൃେ޷͖(°˜°)(°˜°)(°˜°)(°˜°) ࣗݾ঺հ ͜ͷ࣌ͷ࿩ʂ
  3. ݁Ռ ϞόΠϧ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ

    λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ λεΫ
  4. վળࡦͷߟ࡯ • σβΠϯ<=>ϞόΠϧ • σβΠϯͷݕূͱٞ࿦Ͱ͖ΔΑ͏ʹ͢Δ • σβΠϯ࿙ΕΛݟ͚ͭΔ • iOS/Androidͷඪ४ʹଇͬͯͳ͍UIΛݟ͚ͭΔ •

    Ͳ͏ಈ࡞͢Δ͔Θ͔Βͳ͍෦෼Λݟ͚ͭΔ • ϞόΠϧ<=>αʔόʔαΠυ • IF࢓༷Λٞ࿦Ͱ͖ΔΑ͏ʹ͢Δ • ϞόΠϧͰѻ͍΍͍͢σʔλͷܗʹ͢Δ • API։ൃऴΘͬͯͳͯ͘΋֬ೝ&։ൃ͕ਐΊΒΕΔΑ͏ʹ͢Δ • ϞόΠϧ • ͭΑ͍iOSΤϯδχΞʹͳΔʂʂʂʂʂʂʂʂ
  5. ରࡦ1.ؔΘΔશһ͕σβΠϯΛ֬ೝ͠΍͍͢ ঢ়ଶʹ σβΠϯ ϑϩϯτ ϞόΠϧ • Sketch+invisionͷಋೖ • ΋ͱ΋ͱSketch࢖ͬͯͨ •

    ϓϩτλΠϓ͕࡞ΕΔ • σβΠϯ্ͰίϝϯτͰͷ΍ΓऔΓ ͕Մೳ • UIͷ੍໿͕֬ೝͰ͖Δ ։ൃલʹσβΠϯͷෛ࠴Λվળ
  6. ରࡦ2.͍ͭͰ΋API࢓༷֬ೝ&ୟ͚ΔΑ͏ʹ struct InviteEventEntity: Decodable { let id : Int let

    title:String let fullname:String let userId:Int let startDate:Date let endDate:Date let type:Int let gender:Int? let beginnerAllow:Int let maxMembers:Int //࠷େืूਓ਺ let presentMembers:Int? //֎෦ͷࢀՃਓ਺ let participationsCnt:Int let sportId:Int let picture:String let eventImageUrl:String? • Swift4͔ΒͷDecodableΛΑ͘ ར༻͍ͨ͠ʢ͸ͣʣ • ϑΟʔϧυ͕ແ͘ͳΔͱ͔΍Ίͯཉ͍͠ • optional΋Ͱ͖Ε͹࢖͍ͨ͘ͳ͍ • ΦϒδΣΫτ໊ͱϑΟʔϧυͷத਎͸౷ Ұͯ͠ཉ͍͠
  7. ରࡦ2.͍ͭͰ΋API࢓༷֬ೝ&ୟ͚ΔΑ͏ʹ struct InviteEventEntity: Decodable { let id : Int let

    title:String let fullname:String let userId:Int let startDate:Date let endDate:Date let type:Int let gender:Int? let beginnerAllow:Int let maxMembers:Int //࠷େืूਓ਺ let presentMembers:Int? //֎෦ͷࢀՃਓ਺ let participationsCnt:Int let sportId:Int let picture:String let eventImageUrl:String? • Swift4͔ΒͷDecodableΛΑ͘ ར༻͍ͨ͠ʢ͸ͣʣ • ϑΟʔϧυ͕ແ͘ͳΔͱ͔΍Ίͯཉ͍͠ • optional΋Ͱ͖Ε͹࢖͍ͨ͘ͳ͍ • ΦϒδΣΫτ໊ͱϑΟʔϧυͷத਎͸౷ Ұͯ͠ཉ͍͠ ϞόΠϧͰड͚΍͍͢ܗΛཁٻ͢Δʂ
  8. ҰਓiOSΤϯδχΞͰ΋ؾ࣋ͪΑ͘։ൃ͢Δʹ ͸ʁ • ؔΘΔશһ͕ΞϓϦσβΠϯΛ֬ೝ͠΍͍͢ঢ়ଶʹ • σβΠϯπʔϧͰ͍ͭͰ΋୭Ͱ΋ݟΕΔΑ͏ʹ • ϓϩτλΠϓ࡞ͬͯ։ൃલʹσβΠϯతෛ࠴Λղܾ • ͍ͭͰ΋API࢓༷֬ೝ&ୟ͚ΔΑ͏ʹ

    • ΞϓϦଆͰड͚औΓ͍ͨAPIͷܗΛ໌֬ʹ • αʔόʔαΠυ୲౰ͱίϛϡχέʔγϣϯͱΔɻཁٻ͢΂͖͜ͱΛཁٻ͢Δ • iOSΤϯδχΞͱͯ͠੒௕͢Δ • ެࣜαΠτ·ͨGitHubͳͲΛۦ࢖ • ֎෦Ͱࣗ෼ͷࠔ͍ͬͯΔ͜ͱΛLT͢Δ͜ͱͰڭ͑ͯ͘ΕΔɻΈΜͳ༏͍͠ • ࣗ෼Ҏ֎ͷiOSΤϯδχΞͷίʔυΛݟͯҙਤΛฉ͘