Sean Walker
Posted on September 19, 2019
π
09/18/2019
π₯ 7 day streak
π± Do Good Daily
π° $0.99 price
π€ 0 sales
βοΈ 6 hours spent
π» 7 files changed 42 additions(+) 2 deletions(-)
π
ββοΈ Today's goal: Get the text editor working
SwiftUI TextField placeholder
Look, I'm not going to sit here and wax poetic about my 30 minutes of side project work today, I'll just go ahead and say, I didn't do what I set out to do. Having a full time job and a family is hard effin work.
Let's talk about textfields and placeholders, the only thing I did today:
TextField("My good for today", text: self.$input)
.font(.custom(font, size: 18))
.padding()
and that's it! Oh wait, I also figured out how to format today's date:
let fmt = DateFormatter()
fmt.dateFormat = "EEEE, MMMM dd"
self.date = fmt.string(from: Date())
and THAT's it!
π πͺ π
π©
Sean Walker
Posted on September 19, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.