#13 調色大師:維尼穿花襯衫也好看

Sharon Chiu
Sep 2, 2018 · 1 min read

說真的,作業找自己喜歡的東西當主題,做出來會特別有成就感!這次請到自己從小愛到大的維尼當主角,來個變裝秀吧~沒想到可愛的維尼換上花襯衫也一樣好看XD

除了利用slider調整變化顏色,也利用random的方法讓每次點選按鈕都隨機產出RGB的數值,UILabel的顯示控制在小數點兩位避免介面爆開~一起看看維尼的變裝秀吧!

Github:

彼得潘的 Swift iOS App 開發教室

學習 Swift iOS App 開發的學生作品集

Sharon Chiu

Written by

彼得潘的 Swift iOS App 開發教室

學習 Swift iOS App 開發的學生作品集

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade