SwiftUI Tip π‘ In iOS 26, you can apply concentric rounded corners to keep child views visually consistent with their parent. β learnandcodewithenid.com
Enid
SwiftUI Tip π‘ Easily customize tab bar badge colors (normal & selected) with a few UIKit lines of code. β learnandcodewithenid.com
SwiftUI Tip π‘ Use keyboardType() to show the most appropriate keyboard for your input. (Updated for iOS 26 design) β learnandcodewithenid.com
Enid reposted
SwiftUI Tip π‘ In iOS 26+, you can add ticks to a Slider using the ticks parameter. Perfect for things like brightness, volume, or progress levels. β learnandcodewithenid.com
SwiftUI Tip π‘ Use submitLabel() to change the keyboardβs submit button to options like Next, Join, Search, or Done. (Updated for iOS 26) β learnandcodewithenid.com
SwiftUI Tip π‘ Instead of using multiple Spacer views to center content, you can simply use a viewβs frame() modifier. β learnandcodewithenid.com
SwiftUI Tip π‘ You can create nested menus simply by placing a Menu inside another Menu. β learnandcodewithenid.com
Xcode Tip π‘ Not ready for Liquid Glass yet? Temporarily fall back to the classic UI by setting: UIDesignRequiresCompatibility β YES in your appβs Info.plist. β learnandcodewithenid.com
SwiftUI Tip π‘ In iOS 26.0+, we have two new button roles: .close and .confirm. β learnandcodewithenid.com
SwiftUI - Understanding DatePicker (Part 3) is now available to LACWE members π 4 new visuals β learnandcodewithenid.com
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
SwiftUI - Understanding DatePicker (Part 2) is now available to LACWE members π 4 new visuals β learnandcodewithenid.com
SwiftUI Tip π‘ By default, containers like VStack apply built-in spacing. You can remove it by passing 0 to the spacing parameter. β learnandcodewithenid.com
SwiftUI Tip π‘ In iOS 17.0+, use listSectionSpacing() to control the vertical space between sections in a List. β learnandcodewithenid.com
SwiftUI Tip π‘ In iOS 17.0+, use the badgeProminence() modifier to control how noticeable a badge appears. β learnandcodewithenid.com
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
π 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
SwiftUI Tip π‘ In iOS 26.0+, you can finally display a subtitle in the navigation bar using the navigationSubtitle() modifier. β learnandcodewithenid.com
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
SwiftUI - Understanding DatePicker (Part 1) is now available to LACWE members π 5 new visuals β learnandcodewithenid.com
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
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
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
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
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
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
SwiftUI Tip π‘ Did you know? When using the Liquid Glass design, you can apply it to any custom shape. β learnandcodewithenid.com
SwiftUI Tip π‘ In iOS 17.0+, use .pickerStyle(.palette) to display your picker as a horizontal palette of options. β learnandcodewithenid.com
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
SwiftUI Tip π‘ In iOS 16+, use toolbarTitleMenu() to add a dropdown menu directly inside your navigation title. β learnandcodewithenid.com
SwiftUI Tip π‘ Did you know? You can display the current time or date using a simple Text view. β learnandcodewithenid.com
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
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
My biggest deal of the year is live π Get 50% off the yearly plan for my visual iOS development course. β learnandcodewithenid.com
SwiftUI Tip π‘ Use .stroke() to add centered borders. Use .strokeBorder() to add inner borders. β learnandcodewithenid.com
SwiftUI Tip π‘ Use contextMenu() to attach extra actions to any view and reveal them on long-press. Perfect for features that donβt need to stay visible on screen. β learnandcodewithenid.com
SwiftUI Tip π‘ Starting with iOS 26.0, the badge() modifier supports toolbar items too. Perfect for displaying small alerts like notifications π β learnandcodewithenid.com
New in SwiftUI π In iOS 26.0+, you can now add ticks to sliders - perfect for visual guidance. β learnandcodewithenid.com
iOS Dev Tip π‘ Want your arrays to read like real sentences? Use .formatted(.list()) β learnandcodewithenid.com
iOS Dev Tip π‘ You can monitor your appβs thermal state to adjust performance when the device gets too warm - just check: ProcessInfo.processInfo.thermalState β learnandcodewithenid.com
SwiftUI Tip π‘ In iOS 15.0+, you can prevent users from swiping down to dismiss a sheet using .interactiveDismissDisabled(). Perfect for preventing accidental closes - especially in paywalls. β learnandcodewithenid.com
SwiftUI Tip π‘ Display interactive maps easily using the Map view. β learnandcodewithenid.com
SwiftUI - Understanding GlassEffectContainer (Part 4) is now available to LACWE members π 4 new visuals β learnandcodewithenid.com
SwiftUI Tip π‘ When you apply the liquid glass style to a custom view, you can also customize its tint color. β learnandcodewithenid.com
SwiftUI Tip π‘ In iOS 26, toolbars use a glass background by default. To remove it, use .sharedBackgroundVisibility(.hidden) β learnandcodewithenid.com
SwiftUI - Understanding GlassEffectContainer (Part 3) is now available to LACWE members π 4 new visuals β learnandcodewithenid.com
SwiftUI - Understanding GlassEffectContainer (Part 2) is now available to LACWE members π 4 new visuals β learnandcodewithenid.com
SwiftUI Tip π‘ In iOS 17.0+, you can use .sensoryFeedback() to trigger haptic feedback directly in SwiftUI. β learnandcodewithenid.com