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
SwiftでZeplinのダークモード対応ツールを作ったよ
Search
yosshi
November 29, 2019
Technology
0
420
SwiftでZeplinのダークモード対応ツールを作ったよ
yosshi
November 29, 2019
Tweet
Share
More Decks by yosshi
See All by yosshi
Object Oriented Software Development
yosshi4486
0
94
Implement side-menu with SwiftUI
yosshi4486
2
620
FunctionBuilderでコンパイラを表現しようとした
yosshi4486
0
690
Other Decks in Technology
See All in Technology
アジャイルでの品質の進化 Agile in Motion vol.1/20241118 Hiroyuki Sato
shift_evolve
0
200
【令和最新版】AWS Direct Connectと愉快なGWたちのおさらい
minorun365
PRO
5
810
100 名超が参加した日経グループ横断の競技型 AWS 学習イベント「Nikkei Group AWS GameDay」の紹介/mediajaws202411
nikkei_engineer_recruiting
1
180
"とにかくやってみる"で始めるAWS Security Hub
maimyyym
2
110
Flutterによる 効率的なAndroid・iOS・Webアプリケーション開発の事例
recruitengineers
PRO
0
160
Platform Engineering for Software Developers and Architects
syntasso
1
570
ノーコードデータ分析ツールで体験する時系列データ分析超入門
negi111111
0
430
OCI Network Firewall 概要
oracle4engineer
PRO
0
4.2k
SSMRunbook作成の勘所_20241120
koichiotomo
3
180
Exadata Database Service on Dedicated Infrastructure(ExaDB-D) UI スクリーン・キャプチャ集
oracle4engineer
PRO
2
3.2k
Zennのパフォーマンスモニタリングでやっていること
ryosukeigarashi
0
560
CysharpのOSS群から見るModern C#の現在地
neuecc
2
3.8k
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
The Language of Interfaces
destraynor
154
24k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
28
2k
Building an army of robots
kneath
302
43k
How to Think Like a Performance Engineer
csswizardry
20
1.1k
We Have a Design System, Now What?
morganepeng
50
7.2k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
Gamification - CAS2011
davidbonilla
80
5k
Transcript
SwiftͰ Zeplinͷ μʔΫϞʔυରԠ༻πʔϧΛ࡞ͬͨ Αͬ͠ʔ
ࣗݾհ Αͬ͠ʔ(24) iOSΤϯδχΞ ΧΠϥϧωοτϫʔΫͰΞϝ ϦΧΛܨ͍ͩΓɺδΣμΠʹ ͳͬͨΓ͍ͯ͠·ͨ͠ɻ Twitter:@seijin4486
None
μʔΫϞʔυʹ͍ͭͯ iOS13͔ΒରԠग़དྷΔ xcassetsͷ1ͭͷΞηοτͷதʹμʔΫͱϥΠτΛ ߹ΘͤͨૉࡐΛೖΕΔ
None
None
None
Zeplinʹ͍ͭͯ σβΠϯ༷πʔϧ Sketch/XD/PSDͳͲ͔Βॻ͖ग़͠Մೳ ৭ɺ࠲ඪɺ૬ରڑɺૉࡐɺϑΥϯτͳͲΛiOS/ Androidʹ࠷దԽͯࣗ͠ಈੜͯ͘͠ΕΔɻ
None
None
͜Εԡ͢ͱxcassetsʹΧϥʔ͕ు͖ग़͞ΕΔ
None
ZeplinΛͬͯ μʔΫϞʔυରԠ͢Δࡍͷʹ͍ͭͯ μʔΫ/ϥΠτͷಉ໊ૉࡐΛՃग़དྷͳ͍ μʔΫϞʔυରԠͷassetΛు͖ग़ͤͳ͍ ΫϦςΟΧϧʂ
Ͳ͏͍͏πϥϛ͕͋Δ͔ʁ ૉࡐมߋׂͱසൟʹߦΘΕΔͷͰɺͦͷͨͼʹ ΤϯδχΞ͕XcodeͰखಈରԠ ͦΕʹΑΔɺൈ͚ɾ࿙ΕରԠ ൈ͚࿙ΕରԠ͍ͯ͠Δ͏ͪʹɺ৽͍͠ૉࡐͷԼ
Ͳ͏͍͏πϥϛ͕͋Δ͔ʁ ͏Θ͚͕Θ͔Βͳ͍Α!
ZeplinDarkLightAssetBundler ֤Ξηοτͷઌ಄ʹlight/dark͕͍͍ͯΔલఏ݅ xcassetsΛύʔεͯ͠ɺઌ಄ϓϨϑΟοΫεΛݟͯ light/darkૉࡐΛ1ͭͷjsonʹ·ͱΊͯు͖ग़ͯ͠Ε ྑ͍ ίϚϯυΛୟ͚ͩ͘ͰΞηοτ͕·ͱΊΒΕͯਓత ϛεͷՄೳੑ͕ͳ͘ͳΔ(πʔϧͷόάͷ͍ͤʹͳ Δ)
None
None
ϓϨϑΟοΫε͖ΞηοτΛ…
·ͱΊΔʂ
https://github.com/syatyo/ZeplinDarkLightAssetBundler
ٕज़ղઆ SwiftPackageΛར༻ͨ͠ɺSwiftͷπʔϧ SPMͰར༻͞Ε͍ͯΔίϚϯυϥΠϯύʔαʔΛ ར༻
SwiftͰπʔϧΛ࡞Δྑ͍ͱ͜Ζ (ݸਓతͳҙݟͰ͕͢)rubyʹൺͯੜ࢈ੑ͕͔ͳΓ ߴ͍ ςετ͕ॻ͖͍͢ IDE౷߹ͳͷͰɺ࡞Δͷ؆୯
SwiftͰπʔϧΛ࡞Δྑ͘ͳ͍ͱ͜Ζ ᠘ͩΒ͚ StackOverflowϑΥʔϥϜΛݕࡧͯ͠ӳޠͷ࣭ Λ৭ʑಡ·ͳ͍ͱղܾ͠ͳ͍͕͋Δ iOSXcodeʹ͠ΜͰ͍ΔਓҎ֎؆୯ʹѻ͑ͳ ͍
ͰɺΓӽ͑ͨઌʹָ͍͠πʔϧ։ൃ͕͋Δʂ
͜ΜͳରԠ༧ఆ
ZeplinʹެࣜରԠ͞ΕΔ·Ͱͷ໋Ͱ͕͢ ྑ͚Είϛοτͯ͠Έ͍ͯͩ͘͞ʂ