Friday, July 24, 2020

How do I change the visual representation of the DatePicker?


In the new #SwiftUI 2.0, you have different options for how you want to display the DatePicker. Here are two options where you can use a calendar view or use the wheeled version. There are more options available than just these two though.

If you are interested in learning SwiftUI, I have an immersion bundle with a eBook that has embedded video examples, screenshots on every page with code, study guide, flash cards and the complete project with over 400 SwiftUI files. the book alone is almost 750 pages. All for 40% OFF during the SwiftUI Summer Sale. Take advantage of it now! https://bit.ly/2CVa7n4 



datepickerstyle.png

Path functions in SwiftUI


In the new SwiftUI Views Mastery book I have expanded the Path section with all available path functions. I was a little intimidated at first with creating custom shapes but now I have a lot of fun creating them! They are super useful and versatile.



pathfunctions.png

Wednesday, July 22, 2020

Can I change the background color of a SwiftUI GroupBox?

Someone asked me earlier if we can change the GroupBox background color in #SwiftUI.

I couldn’t change it directly but I was able to change it by creating a custom GroupBoxStyle.



This is from the chapter Custom Styling in the SwiftUI Views Mastery book.

Check out the FREE book: https://www.bigmountainstudio.com/free-swiftui-book

Monday, July 20, 2020

Where can I used Pinned Views in SwiftUI 2.0?

In SwiftUI 2.0 you can use pinned views for anything with the word "Lazy" in it. 😃 

That's an easy way to remember (LazyVStack, LazyHStack, LazyVGrid, LazyHGrid).


Join hundreds of other devs and learn SwiftUI this Summer and get 40% OFF the SwiftUI View Mastery Bundle: https://www.bigmountainstudio.com/swiftui-views-book?coupon=SUMMER_BOOK_SALE

Only until August 3rd, 2020

Sunday, July 19, 2020

SwiftUI SignInWithAppleButton Customizations

I thought it was interesting how the #SwiftUI SignInWithAppleButton responds to different sizes you apply to it.

I'm not sure I would need all these variations for my own UI but it does spark some ideas.



(40% OFF SwiftUI Views Mastery Bundle - Ends August 3rd!)

SwiftUI Search & Filter with Combine - Part 3 (iOS, Xcode 13, SwiftUI, 2...

In part 3 of the Searchable video series, I show you how to use Combine in #SwiftUI for the search and filter logic connected to the searcha...