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!

01 Oct 2021

SwiftUI Play YouTube Video

swiftui video youtube

Reading time: 6 min

This recipe shows how to play a YouTube video in SwiftUI.

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 text textfield scrollview style charts navigation navigationbar styling vstack alert animation dialog keyboard button gesture async layout shape combine hstack progressview color progress background scrollviewreader refreshable infinite

Recent Posts

  • Multi Column Wheel Picker in SwiftUI
  • Undo/Redo with SwiftUI TextField
  • Insert Image into SwiftUI Text
  • SwiftUI Auto Size/Shrink Text
  • Chips/Tags Input View in SwiftUI
  • Detect Backspace in SwiftUI

Syndicate

Atom 1.0 RSS

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

  • Recipes
  • Contact Us
  • Online Cookbook