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
Manage Styles in iOS - 公司內分享會
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Lihsuan Chen
August 23, 2016
Programming
0
110
Manage Styles in iOS - 公司內分享會
Lihsuan Chen
August 23, 2016
Tweet
Share
More Decks by Lihsuan Chen
See All by Lihsuan Chen
iPlayground 2025 - 接⼿ 10年⼤雜燴:專案現代化與產品開發的挑戰
vc7
0
150
The UX thinking of PAY ID
vc7
2
490
From Onboarding to Value Delivering in iOS
vc7
0
290
Merciless Refactoring
vc7
0
800
Protocol 的實例、測試和心得
vc7
2
820
共有経済
vc7
0
200
.gitignore
vc7
1
120
Git Workshop 03
vc7
0
150
Git Workshop 02
vc7
0
140
Other Decks in Programming
See All in Programming
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
5.9k
Python札幌 LT資料
t3tra
7
1.1k
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
400
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
210
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
600
Apache Iceberg V3 and migration to V3
tomtanaka
0
130
大規模Cloud Native環境におけるFalcoの運用
owlinux1000
0
260
2026年 エンジニアリング自己学習法
yumechi
0
120
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
180
CSC307 Lecture 04
javiergs
PRO
0
650
AgentCoreとHuman in the Loop
har1101
5
210
Featured
See All Featured
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
54
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
130
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
370
Become a Pro
speakerdeck
PRO
31
5.8k
Writing Fast Ruby
sferik
630
62k
Navigating Weather and Climate Data
rabernat
0
85
The Spectacular Lies of Maps
axbom
PRO
1
500
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
160
Building Flexible Design Systems
yeseniaperezcruz
330
40k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
6.9k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
GitHub's CSS Performance
jonrohan
1032
470k
Transcript
Manage Styles cዥໞ
self.view.backgroundColor = UIColor(red: 129/255, green: 216/255, blue: 208/255, alpha: 1)
self.view.backgroundColor = UIColor(red: 129/255, green: 216/255, blue: 208/255, alpha: 1)
㟬ಘ㣛ʁ
Easy to Read and Reuse
䍲➮《そ㶶
self.view.backgroundColor = UIColor.tiffanyBlue()
self.view.backgroundColor = UIColor.tiffanyBlue() ݱࡏಘ㣛䆩ʁ
extension UIColor { /// ᤅᢹೌཟɼ৭ᛰҝ RGB(129,216,208) class func tiffanyBlue() ->
UIColor { return UIColor(red: 129/255, green: 216/255, blue: 208/255, alpha: 1) } } Ṝᒬሜ
Try it
UIColor UIFont UIImage ஈམ ඪ४ࣈ ܯࠂจࣈ -PHP എܠᅷ QMBDFIPMEFS ṛඪ४৭
ओ৭ථ ܯࠂᰓ৭
Q&A