Showing posts with label swiftlang. Show all posts
Showing posts with label swiftlang. Show all posts

Sunday, July 25, 2021

How do you create a menu using a Picker in SwiftUI?

In SwiftUI (iOS 14+), you can apply the .pickerStyle(.menu) modifier to a Picker view to make it look like a menu when the user taps on the selected picker item button:

picker.menu.png
Note: These examples come from a book called SwiftUI Views Mastery which is a picture book reference of SwiftUI views and code that’s almost 1,000 pages.

Interested in beginning SwiftUI?

Start with the free SwiftUI Views Quick Start picture book!

Tuesday, April 16, 2019

Visual Swift Memory Mastery Coupon!


A lot of people missed the free promotion. But I created a coupon code to keep the price at a minimum and to avoid Udemy's fluctuating costs.

https://www.udemy.com/swift-memory-mastery/

#SwiftLang #iOSDev #Xcode

Saturday, March 16, 2019

This search field animation is an example of "constraint animation". The constraint controls the size of an object. You can animation constraints to change height, width, and positions of your UI elements in iOS.

VIDEO TUTORIAL
https://youtu.be/_Sh8k70rSFk

PROJECT FILES
My patrons have access to this and over 65 other Xcode projects: https://www.patreon.com/posts/project-files-19092229


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...