Welcome to SwiftUI Recipes
  • Recipes
  • Contact Us
  • Online Cookbook

SwiftUI can be confusing and frustrating, so this site gathers no-nonsense, straight-to-the-point recipes on how to get sh*t done!
Our cookbok has over a 100 recipes and it grows every week. Check out what works and what doesn't (even if the docs say it should), how to work around shortcomings and generally waste less time on SwiftUI!

05 Aug 2022

SwiftUI DatePicker and MultiDatePicker - Set Locale, Calendar and Time Zone

swiftui datepicker multidatepicker

Reading time: 1 min

This quick recipe shows how to set custom locale, calendar and time zone on a SwiftUI DatePicker and MultiDatePicker.

Continue Reading...

Search our recipes

Check out the companion apps!

Our free companion app and XCode Extension brings 100+ SwiftUI recipes right at your fingertips! Get a preview of it in the Online Companion.

Have a recipe for us?

Get in touch and let's grow the cookbook together!

Popular Tags

swiftui list image scrollview textfield text style charts navigation navigationbar styling vstack alert animation dialog keyboard button gesture async layout shape combine hstack progressview color progress background scrollviewreader refreshable sheet

Recent Posts

  • Detect Backspace in SwiftUI
  • Underline View in SwiftUI
  • SwiftUI Accordion View
  • SwiftUI Limit Text Length in TextField
  • Paste Image in SwiftUI with PasteButton
  • SwiftUI Sticky Header / Footer in VStack or HStack

Syndicate

Atom 1.0 RSS

SwiftUI Recipes © 2020-2022 by Gordan Glavaš. SwiftUI logo © Apple Inc.

  • Recipes
  • Contact Us
  • Online Cookbook