Open in app
Home
Notifications
Lists
Stories

Write
Water Lou
Water Lou

Home

Mar 14, 2021

Stock Price View in SwiftUI

I want to create a view for displaying stock price. When price goes up, it will turn green. When price goes down, it will turn red. And it will return to black when price didn’t update for a specific of time. Firstly, in order to compare with previous price…

Swiftui

2 min read

Stock Price View in SwiftUI
Stock Price View in SwiftUI

Mar 14, 2021

Material Design Button in SwiftUI

I will demonstrate on how to create a customised button in SwiftUI. Firstly I will create a MaterialColor enum that will define different color sets so that I can create button with different color easily. Then I create the customized ButtonStyle: that will: set minHeight to 44.0 add…

I OS App Development

2 min read

Material Design Button in SwiftUI
Material Design Button in SwiftUI
Water Lou

Water Lou

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable