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

Swiftビギナーズ勉強会

 Swiftビギナーズ勉強会

27f4f4dd4a8dd3b79035c0d5de7008ab?s=128

taasama0079

April 07, 2017
Tweet

Other Decks in Technology

Transcript

  1. ։ൃॳ৺ऀ͕ΞϓϦΛϦγʔε͢Δ·Ͱ 2017.04.08 SwiftϏΪφʔζษڧձ

  2. ࣗݾ঺հ ౻ݪ޹ߊʢ;͡ΘΒ͔͖ͨ͋ʣ ग़਎ɿ੩Ԭݝʢ൬ాࢢʣ ࢓ࣄɿςελʔ झຯɿαοΧʔ؍ઓʢδϡϏϩ൬ాʣ ɹɹɹΧϥΦέɺΞχϝ ɹɹɹήʔϜ υϥΫΤɾεϚϗΞϓϦ  ɹɹɹΞϓϦ࡞Γɺ໺ٿ

    ɹɹɹ෦׆͸খதߴ໺ٿ෦ͰɺߕࢠԂग़৔̏ճ ελϯυԠԉ  UXJUUFSɿ!UBBTBNB CMPHɿIUUQCMPHMJWFEPPSKQHJOOUBBTBNBBQQT
  3. 4XJGUͷษڧΛ࢝Ί͖͔͚ͨͬ ɾ.BDؔ࿈ͷ঎ࣾͰ൒೥Ґɺ.BDΛ࢖͍ͬͯͯڵຯΛ࣋ͬͨ ɾJ1IPOFϢʔβʔͰɺࣗ༝ʹΞϓϦΛ࡞ΕΔΑ͏ʹͳΓ͍ͨ ɹͱࢥ͔ͬͨΒ ɹʢҙ֎ͱࣗ෼ͷχʔζʹ͋ͬͨΞϓϦ͕ݟ͔ͭΒͳ͍ʣ ɾஸ౓ɺࣗࣾ଴ػͰษڧ͢Δ͕͔࣌ؒ࣋ͯͨΒ

  4. 4XJGUͷษڧͰ΍ͬͨ͜ͱ ᶃࢀߟॻͷαϯϓϧΛࣸ͠ɺ࣮ߦͯ͠Έͨ ɹJ1IPOFJ1BEϓϩάϥϛϯάόΠϒϧ J049DPEF4XJGU<ରԠ> ᶄ࡞Δ΋ͷΛܾΊͯɺࠓࣗ෼ͷ͍࣋ͬͯΔ஌ࣝͷൣғ಺Ͱ ɹΞϓϦΛ࡞ͬͯΈͨ ްੜ࿑ಇল͔ΒདྷͨετϨενΣοΫΛΞϓϦͰ౴͑Δ΋ͷ ᶅ4XJGUϏΪφʔζษڧձʹࢀՃͯ͠ɺμϝग़ͯ͠͠΋Βͬͨ ᶆܧଓతʹ4XJGUษڧձʹࢀՃͯ͠ϞνϕʔγϣϯΛҡ࣋ͨ͠ ᶇࣗ෼͕ཉ͍͠ΞϓϦɺ࡞Γ͍ͨΞϓϦΛߟ͑ͯϊʔτʹ

    ɹاըॻ΍ઃܭॻͷ؆қ൛Λॻ͍ͯ࡞੒Λͨ͠ ᶈ։ൃதͷΞϓϦΛ஌Γ߹͍ʹݟͤͯίϛχϡέʔγϣϯπʔϧ ɹͱͯ͠׆༻ͨ͠ΓɺࢦఠΛ΋ΒͬͨΓͨ͠
  5. ॳΊͯϦϦʔεͨ͠ΞϓϦ

  6. ॳΊͯϦϦʔεͨ͠ΞϓϦᶄ ɾΑ͘डݧੜ͕࢖͍ͬͯΔΊ͘Γͳ͕Β࢖͏୯ޠாͷΞϓϦ൛Λ ɹ࡞ͬͯΈͨ ɾ୯ޠாΛࣗ෼Ͱ࡞੒͠ɺλοϓ΍εϫΠϓૢ࡞Ͱγϯϓϧͳૢ࡞ɺ ɹσβΠϯΛҙࣝͯ͠࡞ͬͯΈͨ ɾσʔλϕʔεʹDPSFEBUBΛ࢖ͬͯ࡞੒ ɾίϛϡχέʔγϣϯπʔϧͱͯ͠࢖͑ΔΞϓϦΛ໨ࢦͯ͠࡞੒ͨ͠

  7. ΞϓϦϦϦʔεޙͷ՝୊ ɾ༑ਓ΍஌ਓʹ঺հͯ͠ΞϓϦΛ࢖ͬͯ΋Βͬͯɺ·ͩ·ͩػೳෆ଍ ɹͰ͋Δ͜ͱΛײͨ͡ ɹΤϥʔॲཧ΍ɺ෼͔Γ΍͢͞ɺର৅04ઃఆɺػೳ֦ுͷඞཁੑͳͲ ɹٕज़తͳษڧ͕ඞཁͱࢥͬͨ ɾࣗ෼ͷΞϓϦΛ஌ͬͯ໯͏ͨΊʹɺ޿ใ׆ಈ΋ඞཁͰ͋Δ͜ͱ ɹ࡞Δ͔Βʹ͸μ΢ϯϩʔυ਺ɺചΓ্͛Λ૿΍͍ͨ͠ ɹϗʔϜϖʔδͷ࡞੒ɺ4/4Λར༻ͨ͠એ఻ͳͲͷ׆༻Λ͢Δ ɹاըྗΛ෇͚ͯɺͲΜͲΜΞϓϦΛϦϦʔε͍ͨ͠ ɹࠓ͸ແཧͰ΋࡞Γ͍ͨͱ͍͏ؾ࣋ͪΛڧ࣋ͬͯ͘ܗʹ͍ͯ͘͠

    ɹ·ͣ͸ࣗ෼ָ͕͍͠ͱࢥ͑Δ΋ͷɺΈΜͳͱָ͘͠࢖͑ΔΞϓϦ։ൃ ɹΛ໨ඪʹ͍͖͍ͯͨ͠
  8. ΞϓϦ։ൃΛ΍ͬͯΈͯ ɾࠓ·ͰίʔυͷΈͰ࡞͍͕ͬͯͨɺTXJGUษڧձʹࢀՃͯ͠ɺ ɹTUPSZCPBSEΛ࢖͍ɺ6*ͱॲཧΛ෼͚Δ͜ͱͰޮ཰తʹ࡞ΕΔ͜ͱ ɹ͕෼͔ͬͨɺͲ͏͍͏෩ʹΞϓϦΛ࡞͍͚ͬͯ͹͍͍͔ྲྀΕ͕ͳΜ ɹͱͳ͘෼͔ͬͨ ɾଞͷਓͷηογϣϯΛௌ͍ͨΓɺ࠙਌ձͰ࿩Λܹͯࢗ͠Λ୔ ɹࢁ΋Β͍ɺϞνϕʔγϣϯ্͕͕ͬͨ ɾ෼͔Βͳ͔ͬͨ͜ͱɺग़དྷͳ͔ͬͨ͜ͱ͕೰Έۤ͠Μͩ݁Ռɺ ɹ͍͖ͳΓϙͬͱղܾग़དྷͨ࣌ͷշײ͕๨ΕΒΕͳ͍ ɹzߟ͑Δzͱ͍͏͜ͱָ͕͘͠ࢥ͑Δ༷ʹͳͬͨ

    ɾଞͷਓͱؔΘͬͯ։ൃ͢Δ͜ͱָ͕͍͠ͱײͨ͡ ɾΞϓϦ։ൃͷ࢓ࣄ͍ͨ͠ͱڧ͘ࢥͬͨ
  9. ࠓޙͷ໨ඪ ࡞Γ͍ͨ΋ͷΛ࡞͍ͬͯ͘ʂ ɾϚϧνϓϨΠ͕Ͱ͖ΔήʔϜΞϓϦ ʢ31(ɺύζϧήʔϜɺΫΠζͳͲͳͲʣ ɾίϛϡχέʔγϣϯπʔϧʹͳΓ͏ΔΞϓϦ ΍ͬͺΓऩӹΛ্͍͛ͨʂ ɾΞϓϦͷ಺༰ɺӡ༻ํ๏ͳͲݚڀ͍ͯ͘͠

  10. 4XJGUษڧձ ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ɻ