Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ca.swift_10.pdf
Search
Kyohei Ito
September 26, 2019
0
610
ca.swift_10.pdf
Kyohei Ito
September 26, 2019
Tweet
Share
More Decks by Kyohei Ito
See All by Kyohei Ito
flutterkaigi_2024.pdf
kyoheig3
0
140
flutter_kaigi_2021.pdf
kyoheig3
0
940
flutter_kmm_1.pdf
kyoheig3
1
1k
iosdc_2018.pdf
kyoheig3
2
2.6k
orecon_vol1.pdf
kyoheig3
4
1.5k
iosdc_2017.pdf
kyoheig3
4
830
ca.swift_2.pdf
kyoheig3
9
1.3k
ca.swift.pdf
kyoheig3
1
2k
protocol_buffers.pdf
kyoheig3
6
6.5k
Featured
See All Featured
Thoughts on Productivity
jonyablonski
67
4.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
BBQ
matthewcrist
85
9.3k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Designing for Performance
lara
604
68k
YesSQL, Process and Tooling at Scale
rocio
169
14k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
16
2.1k
Designing on Purpose - Digital PM Summit 2013
jponch
115
7k
How to Think Like a Performance Engineer
csswizardry
20
1.1k
Transcript
νʔϜ։ൃͱ Micro Frameworkͱ XcodeGen 2019/9/26 CA.swift
About Me ҏ౻ɹګฏ Github : KyoheiG3 Twitter : @KyoheiG3
νʔϜ։ൃ × XcodeGen
ੈؒҰൠͰݴΘΕ͍ͯΔ͜ͱ gitͷίϯϑϦΫτͱ͓͞ΒͰ͖Δ
࣮ࡍʹͬͯΈͯΘ͔ͬͨ͜ͱ gitͷίϯϑϦΫτͱ͓͞ΒͰ͖Δ
ͳͥίϯϑϦΫτͱ͓͞ΒͰ͖Δͷ
ಛ • ϓϩδΣΫτߏΛએݴతʹॻ͚ͩ͘ • ෆඞཁͳઃఆΛॻ͘ඞཁ͕ͳ͍ • σΟϨΫτϦͷߏ͕Navigatorʹͦͷ··ө
None
ͦͷଞͷϝϦοτ • ൺֱతՄಡੑ͕ߴ͍ • ࠶ར༻͍͢͠
σϝϦοτ • XcodeGenͷόʔδϣχϯάඞਢ • cocoapodsܦ༝ͰͷΠϯετʔϧͰ͖ͳ͍
ίϯϑϦΫτ͠ͳ͍ͱ͍͏͜ͱ ϓϩδΣΫτมߋͷGitͷ͕ࠩग़ͳ͍
ϑΝΠϧͷҠಈ͕͍͢͠
Ϟδϡʔϧͷ࠶ߏ͕༰қʹͳΔ
XcodeGen
खॱ 1. ඞཁʹԠͯ͡.xcconfigʹઃఆΛॻ͖ग़͢ 2. .yamlʢ.jsonʣʹϓϩδΣΫτߏΛॻ͘
.xcconfigઃఆ • ࢹͰ֬ೝ͠ͳ͕ΒҠߦ͢Δ • πʔϧΛ͏ https://github.com/toshi0383/xcconfig-extractor
None
None
None
None
͓͢͢Ίͷߏ • .yamlʹґଘઃఆΛΰϦΰϦॻ͔ͳ͍ • ϓϩδΣΫτͷ.xcconfigʹΞϓϦͳͲͷλʔήοτݻ༗ͷ ઃఆΛॻ͔ͳ͍ • cocoapods͕ࣗಈੜ͢Δ.xcconfigɺλʔήοτݻ༗ ͷ.xcconfigʹinclude͢Δ •
.xcodeprojΛ.gitignoreʹه͢Δ
͓͢͢Ίͷ࣮ߦํ๏ • git hooksʹɺcheckoutmergeͷλΠϛϯάͰxcodegenΛ ࣮ߦ͢Δ • xcodegen࣮ߦͷޙʹpod installߦ͏Α͏ʹ͢Δ
͜͜·ͰདྷͨΒυϥεςΟοΫͳߏͷมߋ͕Մೳʹ
Micro Framework × XcodeGen
ࡉԽ͞ΕͨFrameworkʹى͜Γ͏Δঢ়گ • Ϟδϡʔϧͷஔ͖͑ • ΞʔΩςΫνϟͷݟ͠ʹΑΔϑϨʔϜϫʔΫͷ౷߹ • ൚༻ԽΛૂͬͨϞδϡʔϧͷ
Model Framework
dependency
Demo https://github.com/KyoheiG3/XcodeGenSample
·ͱΊ
·ͱΊ • ϑΝΠϧσΟϨΫτϦͷҠಈʹؾΛΘͳͯ͘ྑ͍ • ϑϨʔϜϫʔΫͷґଘઃఆ͕ઈָ
Thanks!