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

SwiftとRealmによるアプリ開発実践ノウハウ

t_hayashi
October 23, 2015

 SwiftとRealmによるアプリ開発実践ノウハウ

2015/10/22のヒカ☆ラボにてお話したネイルブックの姉妹アプリ『サロンブック』についてどのように開発を行ったかのスライドです。

t_hayashi

October 23, 2015
Tweet

Other Decks in Technology

Transcript

  1. ։ൃ؀ڥ w 9DPEF w 77%PDVNFOUFS w 'V[[Z"VUPDPNQMFUF w 4XJGU w

    SFBMNDPDPB w ͦͷଞπʔϧ͸#VOEMFSͰ؅ཧ w .BD#PPL1SP.JE w ()[*OUFM$PSFJ w (#.)[%%3
  2. ߦͬͨ͜ͱ w ؀ڥม਺ΛFOWϑΝΠϧͰ؅ཧ w த਎͸୯७ͳLFZWBMVFͷཏྻͨ͠ςΩετ w ͔ͦ͜Βదٓɺద੾ͳϑΥʔϚοτΛग़ྗ ؀ڥม਺ͷѻ͍ FOW YDDPOpHZBNMFSC

    (MPCBMTXJGUFSC %FCVHYDDPOpH 3FMFBTFYDDPOpH (MPCBMTXJGU ςϯϓϨʔτ ఆٛϑΝΠϧ JGEFG΍JOGPQMJTUͰࢀর ίʔυ্Ͱࢀর
  3. ߦͬͨ͜ͱ ؀ڥม਺ͷѻ͍ FOW YDDPOpHZBNMFSC (MPCBMTXJGUFSC %FCVHYDDPOpH 3FMFBTFYDDPOpH (MPCBMTXJGU ςϯϓϨʔτ ఆٛϑΝΠϧ

    JGEFG΍JOGPQMJTUͰࢀর ίʔυ্Ͱࢀর (JUͰόʔδϣϯ؅ཧ όʔδϣϯ؅ཧ֎ w ؀ڥม਺ΛFOWϑΝΠϧͰ؅ཧ w த਎͸୯७ͳLFZWBMVFͷཏྻͨ͠ςΩετ w ͔ͦ͜Βదٓɺద੾ͳϑΥʔϚοτΛग़ྗ
  4. ߦͬͨ͜ͱ ؀ڥม਺ͷѻ͍ FOW YDDPOpHZBNMFSC (MPCBMTXJGUFSC %FCVHYDDPOpH 3FMFBTFYDDPOpH (MPCBMTXJGU ςϯϓϨʔτ ఆٛϑΝΠϧ

    JGEFG΍JOGPQMJTUͰࢀর ίʔυ্Ͱࢀর (JUͰόʔδϣϯ؅ཧ όʔδϣϯ؅ཧ֎ ݸผͰ؅ཧ w ؀ڥม਺ΛFOWϑΝΠϧͰ؅ཧ w த਎͸୯७ͳLFZWBMVFͷཏྻͨ͠ςΩετ w ͔ͦ͜Βదٓɺద੾ͳϑΥʔϚοτΛग़ྗ
  5. ߦͬͨ͜ͱ ؀ڥม਺ͷѻ͍ FOW YDDPOpHZBNMFSC (MPCBMTXJGUFSC %FCVHYDDPOpH 3FMFBTFYDDPOpH (MPCBMTXJGU ςϯϓϨʔτ ఆٛϑΝΠϧ

    JGEFG΍JOGPQMJTU ίʔυ্Ͱࢀর w ؀ڥม਺ΛFOW w த਎͸୯७ͳLFZWBMVF w ͔ͦ͜Βదٓɺద੾ͳϑΥʔϚοτΛग़ྗ ϓϩδΣΫτઃఆຊମͷมߋ͸࠷খݶʹ
  6. ߦͬͨ͜ͱ ؀ڥม਺ͷѻ͍ FOW YDDPOpHZBNMFSC (MPCBMTXJGUFSC %FCVHYDDPOpH 3FMFBTFYDDPOpH (MPCBMTXJGU ςϯϓϨʔτ ఆٛϑΝΠϧ

    JGEFG΍JOGPQMJTU w ؀ڥม਺ΛFOW w த਎͸୯७ͳLFZWBMVF w ͔ͦ͜Βదٓɺద੾ͳϑΥʔϚοτΛग़ྗ ίʔυ্Ͱࢀর ϓϩδΣΫτઃఆຊମͷมߋ͸࠷খݶʹ ઃఆͷมߋ͕ςϯϓϨʔτϑΝΠϧͷࠩ෼ʹ
  7. ߦͬͨ͜ͱ ؀ڥม਺ͷѻ͍ FOW YDDPOpHZBNMFSC (MPCBMTXJGUFSC %FCVHYDDPOpH 3FMFBTFYDDPOpH (MPCBMTXJGU ςϯϓϨʔτ ఆٛϑΝΠϧ

    JGEFG΍JOGPQMJTU w ؀ڥม਺ΛFOW w த਎͸୯७ͳLFZWBMVF w ͔ͦ͜Βదٓɺద੾ͳϑΥʔϚοτΛग़ྗ ίʔυ্Ͱࢀর ϓϩδΣΫτઃఆຊମͷมߋ͸࠷খݶʹ ઃఆͷมߋ͕ςϯϓϨʔτϑΝΠϧͷࠩ෼ʹ ؀ڥม਺ͷ੾Γସ͑͸ఆٛϑΝΠϧͰ
  8. EZOBNJDGSBNFXPSLΛར༻ w 7JFX w 7JFX$POUSPMMFS w 4UPSZCPBSE w "QQ%FMFHBUF w

    .PEFM w "1* w &OUJUZ w $POTUBOUT ϓϩδΣΫτߏ੒ ࢀরՄೳ ࢀরෆՄ
  9. EZOBNJDGSBNFXPSLΛར༻ w 7JFX w 7JFX$POUSPMMFS w 4UPSZCPBSE w "QQ%FMFHBUF w

    .PEFM w "1* w &OUJUZ w $POTUBOUT ϓϩδΣΫτߏ੒ ࢀরՄೳ ࢀরෆՄ
  10. EZOBNJDGSBNFXPSLΛར༻ w 7JFX w 7JFX$POUSPMMFS w 4UPSZCPBSE w "QQ%FMFHBUF w

    .PEFM w "1* w &OUJUZ w $POTUBOUT ϓϩδΣΫτߏ੒ ϓϩδΣΫτຖʹ෼୲͠։ൃɺίϯϑϦΫτ ͕ى͖ʹ͍͘Α͏ʹ
  11. EZOBNJDGSBNFXPSLΛར༻ w 7JFX w 7JFX$POUSPMMFS w 4UPSZCPBSE w "QQ%FMFHBUF w

    .PEFM w "1* w &OUJUZ w $POTUBOUT ϓϩδΣΫτߏ੒ ϓϩδΣΫτຖʹ෼୲͠։ൃɺίϯϑϦΫτ ͕ى͖ʹ͍͘Α͏ʹ Ϟσϧʹؔͯ͠͸୯ମςετΛ༻͍ͯ։ൃ
  12. EZOBNJDGSBNFXPSLΛར༻ w 7JFX w 7JFX$POUSPMMFS w 4UPSZCPBSE w "QQ%FMFHBUF w

    .PEFM w "1* w &OUJUZ w $POTUBOUT ϓϩδΣΫτߏ੒ ϓϩδΣΫτຖʹ෼୲͠։ൃɺίϯϑϦΫτ ͕ى͖ʹ͍͘Α͏ʹ Ϟσϧʹؔͯ͠͸୯ମςετΛ༻͍ͯ։ൃ ϏϡʔɺϞσϧͷࢀর͕Ұํ޲ʹͳΓɺ ࠷௿ݶͷૄ݁߹Λ୲อ
  13. ίϯύΠϧ w ϑΝΠϧ਺  w ߦ਺  Ϗϡʔ  Ϟσϧ

    ίϯύΠϧ࣌ؒ͸ฏۉඵ ˞48*'5@8)0-&@.0%6-&@015*.*;"5*0/l:&4zར༻࣌ ϓϩδΣΫτߏ੒
  14. 3FBMN w ར༻γʔϯ  λΠϜελϯϓ͕ݹ͚Ε͹໰͍߹ΘͤΛߦ͏  ໰͍߹ΘͤதͰ΋Ҏલͷ৘ใΛϏϡʔʹ൓ө  ໰͍߹Θ͕ͤ׬ྃ͠ɺΩϟογϡʹอଘ͞Ε Ε͹ɺ௨஌ܦ༝Ͱ࠶൓ө

    w ৗʹ3FBMN͔Βͷ൓өʹͳΔͷͰɺ࣮૷͕γϯϓϧʹ w ଟͷ௨஌ͳͷͰɺଞͷը໘Ͱͷߋ৽ൃੜ΋ಛผͳରԠͳ࣮͘ݱ
  15. ߦͬͨ͜ͱ w දࣔ͢Δ಺༰ͷσʔλΦϒδΣΫτΛ༧Ίੜ੒͠ɺϦ ετͰอ࣋͢Δ w ͦͷϦετΛ؂ࢹ͠ɺςʔϒϧϏϡʔʹঢ়ଶΛ൓ө 3FBMN ΦϒδΣΫτ 3FBMN ΦϒδΣΫτ

    3FBMN ΦϒδΣΫτ ηϧσʔλ ΦϒδΣΫτ දࣔ͞ΕΔλΠϛϯάͰ ηϧʹσʔλΛ൓ө Ϗϡʔߏ੒ 3FBMNʹΞΫηεͨ͠εϨου ͰσʔλΦϒδΣΫτΛੜ੒
  16. ߦͬͨ͜ͱ w දࣔ͢Δ಺༰ͷσʔλΦϒδΣΫτΛ༧Ίੜ੒͠ɺϦ ετͰอ࣋͢Δ w ͦͷϦετΛ؂ࢹ͠ɺςʔϒϧϏϡʔʹঢ়ଶΛ൓ө 3FBMN ΦϒδΣΫτ 3FBMN ΦϒδΣΫτ

    3FBMN ΦϒδΣΫτ ηϧσʔλ ΦϒδΣΫτ දࣔ͞ΕΔλΠϛϯάͰ ηϧʹσʔλΛ൓ө Ϗϡʔߏ੒ ७ਮͳΦϒδΣΫτͳͷͰ ϝΠϯεϨου͔Β΋ΞΫηεՄೳ