$30 off During Our Annual Pro Sale. View Details »
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
100
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
140
The UX thinking of PAY ID
vc7
2
480
From Onboarding to Value Delivering in iOS
vc7
0
290
Merciless Refactoring
vc7
0
790
Protocol 的實例、測試和心得
vc7
2
820
共有経済
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
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
440
20251212 AI 時代的 Legacy Code 營救術 2025 WebConf
mouson
0
210
AI Agent Dojo #4: watsonx Orchestrate ADK体験
oniak3ibm
PRO
0
110
안드로이드 9년차 개발자, 프론트엔드 주니어로 커리어 리셋하기
maryang
1
140
AIの誤りが許されない業務システムにおいて“信頼されるAI” を目指す / building-trusted-ai-systems
yuya4
6
4k
Cap'n Webについて
yusukebe
0
150
新卒エンジニアのプルリクエスト with AI駆動
fukunaga2025
0
230
Denoのセキュリティに関する仕組みの紹介 (toranoana.deno #23)
uki00a
0
160
Developing static sites with Ruby
okuramasafumi
0
330
ゆくKotlin くるRust
exoego
1
160
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
380
gunshi
kazupon
1
120
Featured
See All Featured
Building AI with AI
inesmontani
PRO
1
570
The Pragmatic Product Professional
lauravandoore
37
7.1k
Designing for Performance
lara
610
69k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
94
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
A Modern Web Designer's Workflow
chriscoyier
698
190k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.3k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Ethics towards AI in product and experience design
skipperchong
1
140
Facilitating Awesome Meetings
lara
57
6.7k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
92
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