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
Lihsuan Chen
August 23, 2016
Programming
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Manage Styles in iOS - 公司內分享會
Lihsuan Chen
August 23, 2016
More Decks by Lihsuan Chen
See All by Lihsuan Chen
iPlayground 2025 - 接⼿ 10年⼤雜燴:專案現代化與產品開發的挑戰
vc7
0
180
The UX thinking of PAY ID
vc7
2
500
From Onboarding to Value Delivering in iOS
vc7
0
310
Merciless Refactoring
vc7
0
830
Protocol 的實例、測試和心得
vc7
2
840
共有経済
vc7
0
210
.gitignore
vc7
1
130
Git Workshop 03
vc7
0
160
Git Workshop 02
vc7
0
140
Other Decks in Programming
See All in Programming
エンジニアと一緒にテストコードの設計と実装を改善した話
mototakatsu
0
180
dRuby over BLE
makicamel
2
340
Claspは野良GASの夢をみるか
takter00
0
190
気圧・高度・GPSを記録&可視化するアプリ「Koudo」を作った話
hjmkth
1
270
Language Server 使ってる? 〜VSCode と Zed の場合〜 / Are you using a Language Server? ~For VS Code and Zed~
handlename
0
790
さぁV100、メモリをお食べ・・・
nilpe
0
140
Contextとはなにか
chiroruxx
1
330
Webフレームワークの ベンチマークについて
yusukebe
0
170
3Dシーンの圧縮
fadis
1
770
Creating Composable Callables in Contemporary C++
rollbear
0
130
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
200
TAKTでAI駆動開発の品質を設計する
j5ik2o
7
1.3k
Featured
See All Featured
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
320
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
430
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
GraphQLとの向き合い方2022年版
quramy
50
15k
[SF Ruby Conf 2025] Rails X
palkan
2
1.1k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
55k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
210
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
200
30 Presentation Tips
portentint
PRO
1
320
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