SwiftUI Search & Filter with Combine - Part 3 (iOS, Xcode 13, SwiftUI, 2...
Big Mountain Studio's Swift Quickstart Guide
by
2y ago
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 searchable modifier. ⭐️(Plus you get a quick refresher on the 3 parts of every Combine pipeline ..read more
Visit website
SwiftUI Search Bar: Searchable Modifier - Part 1 (iOS, Xcode 13, 2022)
Big Mountain Studio's Swift Quickstart Guide
by
2y ago
Apple's search pattern is different than its filtering pattern. This video shows you how to implement the search pattern using SwiftUI's searchable modifier. Note: Search and Filter have two different implementations of searchable.  This first part covers searching ..read more
Visit website
SwiftUI Filtering with the Searchable Modifier - Part 2
Big Mountain Studio's Swift Quickstart Guide
by
2y ago
How you do filtering using the SwiftUI searchable modifier is implemented differently than doing search. Two different things. (Filtering is easier, IMO.) Check out Part 2 of the SwiftUI searchable series ..read more
Visit website
How to Use Hierarchical Styles in SwiftUI with Colors
Big Mountain Studio's Swift Quickstart Guide
by
2y ago
SwiftUI has 5 different style categories. Hierarchical styles are one of the categories. They can be used with or without color. Without color these hierarchical styles use variables of black and white (for light and dark modes). You have seen this with the default text, SF Symbol and Shape colors. They use the primary hierarchical style. Well, you can also use variations of color, not just black and white. Start by adding a color to the parent view using: .foregroundStyle(Color.orange) Then when you use one of these hierarchical styles, they will use a variation of that color: .pr ..read more
Visit website
How do you use Hierarchical styles in SwiftUI?
Big Mountain Studio's Swift Quickstart Guide
by
2y ago
In SwiftUI, starting with Xcode 13, you can now apply hierarchical styles to your UI. These styles are meant to show importance to different levels of your UI by making them stand out more or by showing levels of depth. You probably do this already in some way. You give UI views in the background less color or more transparency and UI views in the foreground have more opacity (solidity) and might use more color. And finally you have your accent color which stands out the most so users know that they can interact with these UI views, like buttons. Now, you can use hierarchical styles t ..read more
Visit website
How do you use foregroundStyle or background to add blur effects in SwiftUI?
Big Mountain Studio's Swift Quickstart Guide
by
2y ago
In Xcode 13 you now have access to a variety of blur effects also known as "materials". Materials are one of the 5 categories of styles that can be applied to views using modifiers such as foregroundStyle and background. The 5 SwiftUI Styles Categories include: Color Gradients Materials Hierarchal Semantic When you apply a material to a view, you have a choice in how transparent and blurred the view is. Here are 6 materials available to you: ultraThinMaterial thinMaterial regularMaterial thickMaterial ultraThickMaterial bar Here are some examples of how to apply these ..read more
Visit website
How do use foregroundStyle to apply gradients to SwiftUI views?
Big Mountain Studio's Swift Quickstart Guide
by
2y ago
In SwiftUI (Xcode 13) you can use the foregroundStyle to apply gradients to views such as Text, Images, and Shapes. RoundedRectangle(cornerRadius: 20)     .foregroundStyle(.conicGradient(colors: [.green, .blue], center: .center)) In this image you can see foregroundStyle being used to apply the new conicGradient. The conic gradient is a lot like angularGradient. What's different is you can adjust the angle with just one parameter ..read more
Visit website
What new colors are available in SwiftUI in iOS 15?
Big Mountain Studio's Swift Quickstart Guide
by
2y ago
With the release of Xcode 13, we see that some new colors are now a part of SwiftUI. These colors were previously a part of UIKit but were not native to SwiftUI yet. The colors are: Mint Teal Cyan Indigo Brown So what do you think? See any colors you will be using? Get your free SwiftUI Views Quick Start book ..read more
Visit website
How do you create a 2-way binding with controls in a SwiftUI list?
Big Mountain Studio's Swift Quickstart Guide
by
2y ago
In iOS 15 you can use SwiftUI to bind controls in a list directly to your data source. This means you can edit data in the list rows and your data source will get updated automatically. It's all about the dollar signs ($). Look at the image to see where exactly you need to add them ..read more
Visit website
How to make safeAreaInset work on Lists?
Big Mountain Studio's Swift Quickstart Guide
by
2y ago
In SwiftUI in iOS15 you can use the safeAreaInset modifier to overlay another view that goes into the safe area like you see here. This could be a bug but the last row of a List doesn't come up above it. ? The Fix: Change the List to a ScrollView ..read more
Visit website

Follow Big Mountain Studio's Swift Quickstart Guide on FeedSpot

Continue with Google
Continue with Apple
OR