Mark Moeykens
banner
bigmountainstudio.bsky.social
Mark Moeykens
@bigmountainstudio.bsky.social
📕Free SwiftUI Picture Book: bigmtn.studio
❓How do I create pinned headers or footers in LazyHGrid?
💡In SwiftUI, use LazyHGrid with pinnedViews parameter, choosing .sectionHeaders, .sectionFooters, or both to keep them visible during scrolling.
👉Free #SwiftUI picture book at bigmtn.studio
October 27, 2025 at 2:01 PM
🚀 NEW BOOK: AI Mastery in SwiftUI
📱 Build AI-powered SwiftUI apps with FoundationModels framework
📕Concept → Screenshot → Code on every page
⚡ Save time with clear, visual explanations
👉 Get it now: https://bigmtn.studio/ai##SwiftUI #iOSDev
October 25, 2025 at 3:03 PM
❓How do I set spacing between items in a SwiftUI Grid?
💡You can set horizontal and vertical spacing by adding parameters to the Grid initializer: Grid(horizontalSpacing: 24, verticalSpacing: 24)
👉Free #SwiftUI picture book at bigmtn.studio
October 23, 2025 at 2:03 PM
❓How do I adjust color opacity in SwiftUI?
💡You can set opacity directly in the Color constructor using the opacity parameter or use the Inspector with a custom color picker to adjust the opacity/alpha slider.
👉Free #SwiftUI picture book at bigmtn.studio
October 23, 2025 at 2:01 PM
❓How do I adjust text baseline alignment in SwiftUI?
💡By default, text appears on the same baseline, but you can use .baselineOffset() to create cool effects - negative numbers move text down.
👉Free #SwiftUI picture book at bigmtn.studio
October 20, 2025 at 2:00 PM
❓How do I use NavigationLink with different value types in SwiftUI?
💡You can pass any type to NavigationLink's value parameter and handle each type separately in navigationDestination modifiers—matching on the type with for: String.self or for: Bool.self
October 16, 2025 at 2:01 PM
❓How do I change text case in SwiftUI?
💡You can use the .textCase() modifier with .lowercase or .uppercase to transform your text as shown in this example.
👉Free #SwiftUI picture book at bigmtn.studio
October 13, 2025 at 2:02 PM
❓How do I create header & footer views with ScrollView in SwiftUI?
💡Use custom struct views that extend View protocol. Style them with HStack, Text, background modifiers and can customize with Rectangle backgrounds and proper spacing like you see here.
👉Free #SwiftUI picture book: bigmtn.studio
October 13, 2025 at 2:01 PM
❓How do I set a custom range on a Gauge in SwiftUI?
💡You can use the 'in' parameter to define min and max values (e.g., Gauge(value: value, in: minValue...maxValue)). Custom ranges let SwiftUI calculate positioning automatically.
👉Free #SwiftUI picture book at bigmtn.studio
October 9, 2025 at 2:03 PM
❓How do I customize sliders in SwiftUI?
💡You can change the track color with .tint(), add style with .background() using Capsule shapes, and apply shadows for depth. While you can't directly color the thumb, creative shapes and outlines add great visual appeal.
👉bigmtn.studio
October 9, 2025 at 2:02 PM
❓How can I manage navigation paths with enums in SwiftUI?
💡Create an enum for screens, then use NavigationStack with a path array of those enum values. You can append to navPath for deep linking.
👉Free #SwiftUI picture book at bigmtn.studio
October 6, 2025 at 2:05 PM
❓How do I arrange multiple views vertically in SwiftUI?
💡Use VStack to vertically stack views. Just add your views inside the VStack and set spacing as needed: VStack(spacing: 20) { ... }
👉Free #SwiftUI picture book at bigmtn.studio
October 6, 2025 at 2:04 PM
❓How do I create a date picker with custom label in SwiftUI?
💡It's a trick question because you can't. 🫤
👉Free #SwiftUI picture book at bigmtn.studio
October 2, 2025 at 2:01 PM
❓What is an HStack in SwiftUI?
💡HStack is a container view that arranges other views horizontally. This code shows how to create an HStack with three text views placed side by side.
👉Free #SwiftUI picture book at bigmtn.studio
September 29, 2025 at 2:08 PM
❓How do I create a paging style onboarding experience in SwiftUI?
💡Use ContentUnavailableView as a layout component with TabView to create beautiful onboarding pages with icons/images and descriptions.
👉Free #SwiftUI picture book at bigmtn.studio
September 29, 2025 at 2:07 PM
❓How do I implement filtering in SwiftUI with the Searchable modifier?
💡Use the .searchable modifier with navigationBarDrawer placement and customize with prompt text. Filter your data with .filter and hasPrefix for dynamic results without changing views.
👉Free #SwiftUI picture book: bigmtn.studio
September 29, 2025 at 2:02 PM
❓How do I customize a MultiDatePicker in SwiftUI?
💡You can use the .tint() modifier to change colors, with .background() for custom backgrounds.
👉Free #SwiftUI picture book at bigmtn.studio
September 25, 2025 at 2:05 PM
❓How do I properly align text baselines in SwiftUI HStacks?
💡Instead of the default .bottom alignment which can look misaligned, use .firstTextBaseline or .lastTextBaseline for proper text alignment in your HStack.
👉Free #SwiftUI picture book at bigmtn.studio
September 25, 2025 at 2:04 PM
❓How do I control spacing between rows in LazyVGrid?
💡You can use the spacing parameter in the LazyVGrid initializer. Set it to 0 for no spacing or increase it (like 20) for more space between rows.
👉Free #SwiftUI picture book at bigmtn.studio
September 22, 2025 at 2:12 PM
❓How do I create side-by-side bars in SwiftUI charts?
💡Use the `.position(by: .value("Group", $0.group))` modifier with BarMark to position bars side-by-side, and customize width with fixed numbers (32), ratios (.ratio(1.1)) or inset values (.inset(2)).
👉Free #SwiftUI picture book at bigmtn.studio
September 22, 2025 at 2:07 PM
❓How do I resize images in SwiftUI?
💡You can use the .resizable() modifier first, then adjust size with .frame(width:height:) or .scaledToFit() for different scaling behaviors.
👉Free #SwiftUI picture book at bigmtn.studio
September 22, 2025 at 2:07 PM
❓What's the difference between maxWidth and containerRelativeFrame in SwiftUI?
💡containerRelativeFrame makes a view match its container's dimensions (horizontal/vertical) with optional alignment, while maxWidth just sets a maximum size limit.
👉Free #SwiftUI picture book at bigmtn.studio
September 22, 2025 at 2:06 PM
❓How do you inspect the details of an AI conversation in #SwiftUI?
💡Conversations keep a "transcript" that you can view.
📗Working on the Transcripts chapter this weekend for the upcoming book "AI Mastery in SwiftUI"
👉Join waitlist: https://bigmtn.studio/ai
September 19, 2025 at 5:57 PM
❓What is one way to display charts in a SwiftUI ScrollView?
💡Use containerRelativeFrame(.vertical, count: 2, span: 1) to resize charts within a ScrollView. This prevents the charts from becoming too small.
👉Free #SwiftUI picture book at bigmtn.studio
September 18, 2025 at 2:05 PM
❓How does `relativeTo` work with ScaledMetric in SwiftUI?
💡Use relativeTo to control how much a value scales compared to a text style. When using smaller text styles as reference, values will scale more dramatically.
👉Free #SwiftUI picture book at bigmtn.studio
September 18, 2025 at 2:01 PM