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
0
96
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
120
The UX thinking of PAY ID
vc7
2
470
From Onboarding to Value Delivering in iOS
vc7
0
290
Merciless Refactoring
vc7
0
780
Protocol 的實例、測試和心得
vc7
2
810
共有経済
vc7
0
190
.gitignore
vc7
1
110
Git Workshop 03
vc7
0
140
Git Workshop 02
vc7
0
130
Other Decks in Programming
See All in Programming
例外処理を理解して、設計段階からエラーを見つけやすく、起こりにくく #phpconfuk
kajitack
12
5.6k
KoogではじめるAIエージェント開発
hiroaki404
1
400
開発生産性が組織文化になるまでの軌跡
tonegawa07
0
100
歴史から学ぶ「Why PHP?」 PHPを書く理由を改めて理解する / Learning from History: “Why PHP?” Rediscovering the Reasons for Writing PHP
seike460
PRO
0
140
Researchlyの開発で参考にしたデザイン
adsholoko
0
120
Migration to Signals, Resource API, and NgRx Signal Store
manfredsteyer
PRO
0
160
Kotlin 2.2が切り拓く: コンテキストパラメータで書く関数型DSLと新しい依存管理のかたち
knih
0
390
CSC509 Lecture 10
javiergs
PRO
0
170
予防に勝る防御なし(2025年版) - 堅牢なコードを導く様々な設計のヒント / Growing Reliable Code PHP Conference Fukuoka 2025
twada
PRO
33
10k
AI時代に必須!状況言語化スキル / ai-context-verbalization
minodriven
3
360
Kotlinで実装するCPU/GPU 「協調的」パフォーマンス管理
matuyuhi
0
320
2026年向け会社紹介資料
misu
0
120
Featured
See All Featured
Code Review Best Practice
trishagee
72
19k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Site-Speed That Sticks
csswizardry
13
960
A designer walks into a library…
pauljervisheath
210
24k
Designing Experiences People Love
moore
142
24k
Speed Design
sergeychernyshev
32
1.2k
Scaling GitHub
holman
463
140k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.2k
Visualization
eitanlees
150
16k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
Testing 201, or: Great Expectations
jmmastey
46
7.8k
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