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

Swiftへの愛2018

hirothings
December 08, 2018

 Swiftへの愛2018

Swiftの魅力
最近のSwift
これからのSwift
について発表した資料になります

hirothings

December 08, 2018
Tweet

More Decks by hirothings

Other Decks in Programming

Transcript

  1. Ϟμϯͳจ๏ • ܕਪ࿦ • Ϋϩʔδϟ • ߴ֊ؔ਺ (map, flatMap, filter,

    reduce..) • ϓϩτίϧ / ϓϩτίϧ֦ு • δΣωϦΫε • λϓϧ / ෳ਺ͷ໭Γ஋ • ϝϞϦͷࣗಈ؅ཧ(ARC)
  2. • Swift2 to 3ͷΑ͏ͳ஍ࠈ͸ͳ͍ • Swift3ͰObj-CʹҾͬுΒΕͨ࢓༷ΛόοαϦ੾ͬͯ҆ఆ͖ͯͨ͠ • Swift4.1 to 4.2ͷMigration͸਺࣌ؒͰऴΘͬͨɻ

    • XcodeͷMigrationػೳ + ͪΐͬͱͨ͠मਖ਼ͰDone • Ξοϓσʔτͷ஗͍ϥΠϒϥϦ͸Swift3ͰίϯύΠϧ όʔδϣϯΞοϓ͕ΊΜͲ͏ʁ
  3. • จࣈྻͷڧԽ • StringͷCollection TypeԽ • ෳ਺ߦจࣈྻϦςϥϧͷαϙʔτ • Randomؔ਺ͷ࣮૷ •

    ࠓ·ͰCͷؔ਺arc4random_uniform Λ࢖͍͕ͬͯͨɺLinux؀ڥͰ αϙʔτ͞Εͯͳ͍ͨΊ໘౗ͩͬͨ • Dynamic Member Lookup Φʔϓϯιʔεͱͯ͠ͷػೳڧԽ
  4. Fin