Enid
banner
iosdevalb.bsky.social
Enid
@iosdevalb.bsky.social
SwiftUI Tip 💡

You can add a custom preview to your context menu using the 'preview' parameter.

Perfect for showing more details before the user chooses an action.

learnandcodewithenid.com
December 4, 2025 at 12:29 PM
SwiftUI - Understanding DatePicker (Part 2) is now available to LACWE members 🎉

4 new visuals

learnandcodewithenid.com
December 3, 2025 at 9:11 PM
SwiftUI Tip 💡

By default, containers like VStack apply built-in spacing.

You can remove it by passing 0 to the spacing parameter.

learnandcodewithenid.com
December 3, 2025 at 3:00 PM
SwiftUI Tip 💡

In iOS 17.0+, use listSectionSpacing() to control the vertical space between sections in a List.

learnandcodewithenid.com
December 2, 2025 at 1:51 PM
SwiftUI Tip 💡

In iOS 17.0+, use the badgeProminence() modifier to control how noticeable a badge appears.

learnandcodewithenid.com
December 2, 2025 at 12:18 PM
SwiftUI Tip 💡

By default, a scroll view clips anything that extends past its bounds.

In iOS 17.0+, use scrollClipDisabled() to let items extend beyond the scroll view’s bounds.

learnandcodewithenid.com
December 1, 2025 at 2:55 PM
🚀 As always, new chapters, lessons, and updates are on the way.

You can join with a 50% lifetime discount on the yearly plan — the offer expires soon.

learnandcodewithenid.com
November 30, 2025 at 2:35 PM
SwiftUI Tip 💡

In iOS 26.0+, you can finally display a subtitle in the navigation bar using the navigationSubtitle() modifier.

learnandcodewithenid.com
November 30, 2025 at 12:59 PM
SwiftUI Tip 💡

In iOS 17.0+, use navigationLinkIndicatorVisibility() to control whether a NavigationLink shows its disclosure indicator.

Perfect for cleaner lists, or when you want full control over row styling.

learnandcodewithenid.com
November 29, 2025 at 10:03 PM
SwiftUI - Understanding DatePicker (Part 1) is now available to LACWE members 🎉

5 new visuals

learnandcodewithenid.com
November 29, 2025 at 3:47 PM
SwiftUI Tip 💡

In iOS 26.0+, TextEditor supports rich text editing when you bind it to an AttributedString.

This instantly unlocks system-native formatting tools - bold, italics, underline, colors, alignment, and more.

learnandcodewithenid.com
November 29, 2025 at 1:41 PM
SwiftUI Tip 💡

In iOS 17+, you can choose where your scroll view starts scrolling from using defaultScrollAnchor().

For example, use .top to begin at the start, or .bottom to jump to the latest content - perfect for chat views or message feeds.

learnandcodewithenid.com
November 28, 2025 at 1:46 PM
SwiftUI Tip 💡

You can control where the popover’s arrow appears - top, bottom, leading, or trailing - using the arrowEdge parameter.

Perfect for creating context-aware popovers.

learnandcodewithenid.com
November 27, 2025 at 8:29 PM
SwiftUI Tip 💡

In iOS 16.0+, use MultiDatePicker to let users select multiple days at once.

Perfect for booking flows, habit trackers, or any calendar-driven experience.

learnandcodewithenid.com
November 26, 2025 at 5:22 PM
SwiftUI Tip 💡

In iOS 18.0+, use the .mix() modifier to blend two colors into a new one.

Great for creating custom backgrounds, smooth gradients, or dynamic themes on the fly.

learnandcodewithenid.com
November 26, 2025 at 1:48 PM
SwiftUI Tip 💡

You can place a toolbar with items above the keyboard by using the .keyboard placement.

Perfect for AI chat apps, note-taking apps, and any interface with quick actions while typing.

learnandcodewithenid.com
November 25, 2025 at 1:47 PM
SwiftUI Tip 💡

Did you know? When using the Liquid Glass design, you can apply it to any custom shape.

learnandcodewithenid.com
November 24, 2025 at 1:14 PM
SwiftUI Tip 💡

In iOS 17.0+, use .pickerStyle(.palette) to display your picker as a horizontal palette of options.

learnandcodewithenid.com
November 23, 2025 at 4:08 PM
Swift Tip 💡

Use randomElement() to quickly pick a random item from any collection.

Perfect for games, quizzes, or showing surprise content with almost no code. 🚀

learnandcodewithenid.com
November 23, 2025 at 11:49 AM
SwiftUI Tip 💡

In iOS 16+, use toolbarTitleMenu() to add a dropdown menu directly inside your navigation title.

learnandcodewithenid.com
November 22, 2025 at 11:01 AM
SwiftUI Tip 💡

Did you know? You can display the current time or date using a simple Text view.

learnandcodewithenid.com
November 21, 2025 at 4:20 PM
SwiftUI Tip 💡

In iOS 18.0+, you can use .presentationSizing(.fitted) on a sheet to size the modal just around its content instead of filling most of the screen - perfect for compact, card-style popups.

learnandcodewithenid.com
November 19, 2025 at 4:11 PM
SwiftUI Tip 💡

By default, popover() displays as a sheet on iPhone.

In iOS 16.4+, use .presentationCompactAdaptation(.none) to keep it as a true popover.

learnandcodewithenid.com
November 18, 2025 at 12:17 PM
My biggest deal of the year is live 🚀

Get 50% off the yearly plan for my visual iOS development course.

learnandcodewithenid.com
November 17, 2025 at 4:08 PM
SwiftUI Tip 💡

Use .stroke() to add centered borders.

Use .strokeBorder() to add inner borders.

learnandcodewithenid.com
November 16, 2025 at 5:08 PM