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
Li-Hsuan Chen
August 23, 2016
Programming
0
88
Manage Styles in iOS - 公司內分享會
Li-Hsuan Chen
August 23, 2016
Tweet
Share
More Decks by Li-Hsuan Chen
See All by Li-Hsuan Chen
The UX thinking of PAY ID
vc7
2
450
From Onboarding to Value Delivering in iOS
vc7
0
270
Merciless Refactoring
vc7
0
750
Protocol 的實例、測試和心得
vc7
2
790
共有経済
vc7
0
170
.gitignore
vc7
1
90
Git Workshop 03
vc7
0
120
Git Workshop 02
vc7
0
110
Escaping Closures in Swift - 公司內分享會
vc7
1
230
Other Decks in Programming
See All in Programming
Go Modules: From Basics to Beyond / Go Modulesの基本とその先へ
kuro_kurorrr
0
110
生成AIで日々のエラー調査を進めたい
yuyaabo
0
500
List Unfolding - 'unfold' as the Computational Dual of 'fold', and how 'unfold' relates to 'iterate'"
philipschwarz
PRO
0
180
セキュリティマネジャー廃止とクラウドネイティブ型サンドボックス活用
kazumura
1
160
実践ArchUnit ~実例による検証パターンの紹介~
ogiwarat
2
240
Beyond Portability: Live Migration for Evolving WebAssembly Workloads
chikuwait
0
330
Cline指示通りに動かない? AI小説エージェントで学ぶ指示書の書き方と自動アップデートの仕組み
kamomeashizawa
1
250
事業戦略を理解してソフトウェアを設計する
masuda220
PRO
21
5.9k
Effect の双対、Coeffect
yukikurage
4
1.3k
JSAI2025 RecSysChallenge2024 優勝報告
unonao
1
450
iOSアプリ開発もLLMで自動運転する
hiragram
6
2.3k
Prism.parseで 300本以上あるエンドポイントに 接続できる権限の一覧表を作ってみた
hatsu38
1
110
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
32
5.9k
For a Future-Friendly Web
brad_frost
179
9.8k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Making the Leap to Tech Lead
cromwellryan
134
9.3k
Raft: Consensus for Rubyists
vanstee
139
7k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Six Lessons from altMBA
skipperchong
28
3.8k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
We Have a Design System, Now What?
morganepeng
52
7.6k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
4
120
Fireside Chat
paigeccino
37
3.5k
Navigating Team Friction
lara
186
15k
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