A SwiftUI Toggle is a common UI element that allows users to switch between states. It often turns a binding value on or off, and it’s commonly used for settings or binary choices. In this guide, I’ll walk through everything you need to know about a Toggle in SwiftUI: from the basics to customization, accessibility, and real-world … → The post SwiftUI Toggle: A Complete Guide appeared first on SwiftLee.| SwiftLee
The @ViewBuilder attribute is one of the few result builders available for you to use in SwiftUI. You typically use it to create child views for a specific SwiftUI view in a readable way without having to use any return keywords. I encourage you to read my article Result builders in Swift explained with code … → The post @ViewBuilder usage explained with code examples appeared first on SwiftLee.| SwiftLee
Learn how to add a custom bottom accessory above the tab bar using the bottom accessory modifier.| Create with Swift
Learn how to make tab bar minimize when responding to scrolling gesture using the new minimize behavior modifier.| Create with Swift
Explore how to design and implement toolbars in iOS 26 using Apple’s new Liquid Glass.| Create with Swift
Learn how to use EventKitUI to see details, edit events and choose calendars.| Create with Swift
Learn how to add an alarm to an event that notify users before an event starts.| Create with Swift
Learn how to retrieve events between specific dates from the calendar.| Create with Swift
At the first World Humanoid Robot Games recently held in Beijing, many amusing scenes unfolded: robots punching at thin air, swaying from side to side while running, and collectively tumbling after colliding during soccer matches.| Fatbobman's Blog
Patton is 13 years old now. While he usually displays far more energy and vitality than other dogs his age, various health issues have inevitably emerged as he's gotten older. Recently, Patton was diagnosed with pulmonary hypertension, and the vet prescribed a targeted treatment plan. Just as I was feeling relieved that the treatment seemed to be working, last Monday afternoon, Patton suddenly couldn't stand, was drooling excessively, and showed clear signs of cardiac distress.| fatbobman.com
I finally finished my new book on building scalable and maintainable apps with Swift and SwiftUI.| iOS development by tanaschita.com
Learn how to abstract and reuse a SwiftUI toolbar across multiple screens.| iOS development by tanaschita.com
Create and configure calendar events to save them to the user calendar.| Create with Swift
Learn how to request access and efficiently interact with a user’s calendar and reminder data.| Create with Swift
Discover how to create and personalize user interfaces for alarms using AlarmKit with SwiftUI.| Create with Swift
Learn how to schedule and manage alarms within your application using AlarmKit| Create with Swift
In my previous post about Technicolor I gave an overview of my hybrid chat app & social network for watching TV shows with friends asynchronously.| twocentstudios.com
Last Saturday, Apple officially and permanently closed an Apple Store in Dalian, China, marking the first time the company has closed a directly-operated store in the country. The store opened in 2015, exactly ten years ago. Following the announcement, numerous online reports emerged, with some interpreting this as a signal about Apple's business conditions in China. Since this store happens to be located in my city, I have some firsthand knowledge of the situation and would like to share a d...| Fatbobman's Blog
Despite some minor issues, I had a pretty good impression of the previous beta versions of Xcode 26. Both the refreshing visual experience and the clearer annotations for AI-generated code were quite impressive. However, after recently updating to beta 4, these positive feelings quickly dissipated due to frequent Preview crashes.| Fatbobman's Blog
This post is mostly to herald a pretty good Apple bug report response, which as we know is a too-rare event. But it might also help others with this confusing SwiftUI API. What’s the difference between presentedWindowStyle(_:) and windowStyle(_:)? Well, one does something, the other doesn’t, basically. I tried using the former, and observed that… Read more| Wade Tregaskis
This is a public reposting of FB14893699, in case it’s helpful to anyone else or especially in case someone else has seen this too and knows how to work around it. If any view in the [active] window contains a Toggle – even one that’s disabled or hidden – then Continuity Camera (re. ImportFromDevicesCommands and… Read more| Wade Tregaskis
Get an overview of what Accessibility Nutrition Labels are and how to support them.| iOS development by tanaschita.com
Learn how to change the edge effect of the scrolling view behavior in areas where the scroll view intersects with the safe area.| Create with Swift
Learn how to customize the way the scroll behavior ends and the content aligns when scrolling in SwiftUI| Create with Swift
Learn how to programmatically jump to a specific item inside long scrollable content by using ScrollViewReader.| Create with Swift
Learn how to make content that exceeds the screen size scrollable using the ScrollView.| Create with Swift
Learn how to use sliders and steppers in forms in SwiftUI apps.| Create with Swift
Claude Code works best as a multi-shot agent, iterating on a task by making changes and checking whether its attempts match the target.| twocentstudios.com
A few days ago, the Blender Foundation announced that it is developing a native version for iPad Pro with specialized optimizations for Apple Pencil. The initial version will focus on basic object manipulation and sculpting features, with later versions adding Grease Pencil and storyboarding capabilities. It's particularly worth noting that this is not a feature-limited iPadOS version like some professional software, but a fully-featured Blender iPadOS native application.| Fatbobman's Blog
Last week I went to the theater to watch *F1*, Apple’s latest original movie—and the experience far exceeded my expectations. While the storyline was admittedly a bit thin, the sheer sense of immersion and racing excitement it delivered easily justified the ticket price. When Brad Pitt’s APXGP car thundered down Silverstone Circuit, the roar of the engine shaking the IMAX sound system transported me back to those days, over 20 years ago, when I’d sit glued to the TV cheering on the fi...| fatbobman.com
After installing iOS 26 beta 3, users quickly noticed that the Liquid Glass effect is no longer as translucent as in the previous two beta releases. This change has sparked two opposing perspectives: some see it as a sign that Apple’s flagship design concept from WWDC 2025 is facing challenges, while others view it as evidence of Apple’s responsiveness to user experience data and its ability to iterate quickly. Either way, such a significant UI adjustment within a short time underscores t...| fatbobman.com
When ScrollView content is shorter than the screen height, you often end up with awkward empty space. Here’s how to make your content fill the available space.| @samwize
Learn how to respect system settings for reduced motion to improve usability for motion-sensitive users.| iOS development by tanaschita.com
Learn how to support font scaling for user's custom text size settings.| iOS development by tanaschita.com
Learn how to blend grouped glass effect components into a unique one during transitions using glassEffectID modifier.| Create with Swift
Learn how to create and customize the menu bar of your SwiftUI app to improve navigation for your SwiftUI app on iPadOS and macOS.| Create with Swift
Learn how to group items with a glass effect using the GlassEffectContainer view.| Create with Swift
Discover how search behaves within the new Apple design system within a SwiftUI app.| Create with Swift
Learn how to implement drag gestures in SwiftUI to create fluid and intuitive draggable interface elements.| Create with Swift
One of my favorite WWDC experiences.| Chris Wu
Text is heavily used in SwiftUI. Compared to its counterparts in UIKit/AppKit, Text requires no configuration and works out of the box, but this also means developers lose more control over it. In this article, I will demonstrate through a real-world case study how to accomplish seemingly impossible tasks with SwiftUI's approach - finding the first view among a given set where text is not truncated, and using it as the required size.| Fatbobman's Blog
Since mid-June, my city has also experienced unusually high temperatures. Although 30-31°C may not seem dramatic compared to other regions that routinely see 35-40+°C, for me, accustomed to temperatures in the 20s, this heat has become quite unbearable.| fatbobman.com
Several months after the Swift forums first announced the formation of an Android Community Workgroup in February 2025, Swift.org has now officially launched an Android Workgroup. This marks the beginning of officially led efforts to support Swift on Android. With this, Swift developers may soon benefit from improved toolchains and a better development experience on Android.| fatbobman.com
Get an overview on how to use WebView and WebPage in SwiftUI.| iOS development by tanaschita.com
At WWDC 2025’s “Bring Your SceneKit Project to RealityKit” session, Apple officially announced that SceneKit will receive “critical-bug only” maintenance going forward, with no new features planned. The framework is now marked as deprecated in the official documentation, and developers are encouraged to migrate to RealityKit. Although many of us anticipated this day, the formal announcement still evokes a pang of nostalgia.| fatbobman.com
Discover how SwiftUI's ZStack uses layoutPriority to compute size, allowing dynamic container resizing by toggling view importance—no ifs, no switches.| fatbobman.com
Ahead of WWDC 2025, the Swift official website has undergone a comprehensive redesign. The new design aims to enhance user-friendliness, highlight Swift’s technical strengths, and make it easier for beginners to get started. As a programming language deeply connected to the Apple ecosystem, the website naturally incorporates strong Apple-style visual elements.| fatbobman.com
Learn how to add navigation buttons above the keyboard to switch between text fields in SwiftUI.| iOS development by tanaschita.com
Learn how to add toolbar items in SwiftUI views across various placements like navigation bars, bottom bars and more.| iOS development by tanaschita.com
Learn how to combine basic shapes to build custom visualizations and layouts using SwiftUI and the Canvas view.| Create with Swift
Understand how SwiftUI's ViewThatFits container works.| iOS development by tanaschita.com
A Zettelkasten is a tool for learning. How do I learn a new piece of a familiar API at the very start?| Christian Tietze
Learn how to use the Canvas view to render graphics in the form of symbols within a SwiftUI app.| Create with Swift
Enable sharing content from your app using the system share sheet within a SwiftUI app| Create with Swift
Learn how to save and restore NavigationPath to maintain user context across app launches.| iOS development by tanaschita.com
Learn how to integrate NavigationPath with TabView in SwiftUI to manage independent navigation flows.| iOS development by tanaschita.com
Learn how to bind your view’s size to its container in a SwiftUI app| Create with Swift
Learn how to create a lightweight dependency injection container in Swift| iOS development by tanaschita.com
Discover the benefits of using a SwiftUI TabView to organize your app's main views into tabbed views for better user experience.| SwiftLee
Explore how to use the picker in SwiftUI for selecting values in your apps with different styles and controls.| SwiftLee
Learn how SwiftUI optimizes UI updates.| iOS development by tanaschita.com
Learn how and when to use @Bindable in SwiftUI.| iOS development by tanaschita.com
Learn how to provide users with direct access to app functionality from the home screen.| iOS development by tanaschita.com
Learn how to integrate SceneDelegate with a SwiftUI-based application.| iOS development by tanaschita.com
Learn how to add biometric authentication with passcode fallback to secure your app for iOS using Swift and SwiftUI with Apple's Local Authentication framework.| tanaschita.com
With the SwiftUI changes that were added in iOS 15 I started directing a lot of my attention to Lists. I quickly hit a problem.| Chris Wu
Learn how to create user interface tests with the XCTest framework.| iOS development by tanaschita.com
Learn how to create a realistic snow particle effect in SwiftUI using SpriteKit’s particle emitter.| iOS development by tanaschita.com
Explore opaque types in Swift for building flexible and type-safe abstractions.| iOS development by tanaschita.com
Learn how to implement universal links to link between content on your iOS app and its connected website.| iOS development by tanaschita.com
Understanding the Identifiable protocol and \.self in SwiftUI collections.| iOS development by tanaschita.com
Learn to use the asset catalog or the programmatic approach to define dynamic colors in SwiftUI.| iOS development by tanaschita.com
Learn how to integrate async/await functions into your SwiftUI views.| iOS development by tanaschita.com
Learn the advantages and limits of LocalizedStringKey in SwiftUI.| iOS development by tanaschita.com
Learn how to use different accessibility modifiers in SwiftUI.| iOS development by tanaschita.com
Learn how to add customization to SwiftUI containers.| iOS development by tanaschita.com
Learn how to request data from the Core Data store in a SwiftUI view.| iOS development by tanaschita.com
Learn how to build a generic custom container in SwiftUI.| iOS development by tanaschita.com
Learn different scenarios for using the @Environment property wrapper.| iOS development by tanaschita.com
Learn how to debounce on a practical example.| iOS development by tanaschita.com
Learn how to manage navigation in SwiftUI programmatically.| iOS development by tanaschita.com
Learn how to share data between SwiftUI views without passing the data explicitly.| iOS development by tanaschita.com
Learn how to bridge SwiftUI and UIKit views.| iOS development by tanaschita.com
By using alternatives such as the @ViewBuilder attribute, Group type or generics.| iOS development by tanaschita.com
Learn how to improve type safety when working with semantic colors.| iOS development by tanaschita.com
Learn how to build a bottom sheet such as in Apple Maps or Google Maps with SwiftUI| iOS development by tanaschita.com
Learn how to wait for a certain amount of time before starting a SwiftUI animation.| iOS development by tanaschita.com
Learn how to efficiently store larger amounts of data in SwiftData.| iOS development by tanaschita.com
Learn how to setup a SwiftData container and context directly in SwiftUI.| iOS development by tanaschita.com
Get an overview on Apple's SwiftData framework.| iOS development by tanaschita.com
An unexpected solution to finding a crash explanation.| Chris Wu
This post is the result of a lot of thinking. It’s not very uplifting, but it is where I am right now. It is presented in two versions: the first is written entirely by yours truly, and the s…| A p p D e c e n t r a l
Welcome to my indie dev journey. New here? Hey, I’m Mikaela 🦄 I’m an independent iOS developer working on making my own apps profitable, and doing some freelance on the side. Every month, I plan on publishing a journal / retrospective like this one to share how things are going with my business. You an […]| Mikaela Caron
Welcome to my indie dev journey.| Mikaela Caron
Learn how to use SwiftUI lists to present data. Explore different list styles, implement selection, or change the background color.| SwiftLee
Add interaction to your app with a SwiftUI Button, custom styles, and interactions. Learn how you can define reusable components.| SwiftLee
Combine CRDTs into a full distributed data Swift app using SwiftUI and Combine.| A p p D e c e n t r a l
It’s an old chestnut that Swift developers love to sink their teeth into: Should you force unwrap optionals? Everyone has an opinion about it, and I’m going to state mine as clearly as I can — forcefully unwrap early and often. Of course, this is just one opinion. We even disagree about it within our two man Agenda team, so … Continue reading The Danger of Playing it Safe→| A p p D e c e n t r a l