In-Depth Exploration of Overlay and Background Modifiers in SwiftUI
Fatbobman's Blog
by
2d ago
In the toolbox of SwiftUI, overlay and background are two extremely useful view modifiers that play an indispensable role in various development scenarios. This article will delve into the unique attributes of these two modifiers, clarify their fundamental differences from ZStack, and identify the scenarios they are best suited for. 订阅中文版 RSS Read More ..read more
Visit website
Fatbobman's Swift Weekly #28 : Experience the joy of pixel games on your iPhone!
Fatbobman's Blog
by
5d ago
Apple recently updated its App Store Review Guidelines, now allowing emulator apps into the App Store. Just a few days ago, an emulator app named Delta was launched on the store. Delta is an all-in-one emulator designed for iOS, supporting a variety of Nintendo handheld games. This app was actually developed a long time ago but was previously only available to users in non-App Store formats due to policy restrictions. 订阅中文版 RSS Read More ..read more
Visit website
Fatbobman's Swift Weekly #27 : Apple Makes You a One-Day "Millionaire"
Fatbobman's Blog
by
1w ago
On April 11, 1976, Apple took a significant step with the debut of the Apple I computer, designed by Steve Wozniak. Although it was just a circuit board that required users to provide their own keyboard and monitor, its historical significance is profound as this product cemented Apple's position in the market. 订阅中文版 RSS Read More ..read more
Visit website
Fatbobman's Swift Weekly #26 : Swift, Beyond the Apple Ecosystem!
Fatbobman's Blog
by
1w ago
Since its official debut in 2014, Swift has entered its tenth year of development. Although Swift began supporting Linux at the end of 2015, its promotion and application on non-Apple platforms have been slow over the years, and many still regard Swift as a language exclusive to the Apple ecosystem. 订阅中文版 RSS Read More ..read more
Visit website
Fatbobman's Swift Weekly #25 : Let's VisionOS, Let's rock and roll!
Fatbobman's Blog
by
1w ago
On March 30th to 31st, 2024, I was fortunate to attend the Let's VisionOS 2024 conference in Beijing. This grand event, being the world's first large forum dedicated to VisionOS development, attracted distinguished guests and developers from all corners of the globe. Throughout the conference, speakers generously shared their professional techniques, valuable experiences, design philosophies, and insightful analyses of future trends in the VisionOS development field. 订阅中文版 RSS Read More ..read more
Visit website
Fatbobman's Swift Weekly #23 : Equip Your App with Privacy Manifests
Fatbobman's Blog
by
1w ago
Apple recently notified developers submitting apps for review to include privacy manifest files in their apps if they use specific APIs. This requirement stems from the new policy introduced at WWDC 2023, aimed at compelling app developers and SDK producers to explicitly declare their app's privacy practices. By May 1, 2024, apps that fail to provide a complete privacy manifest will not pass the App Store's review process. Developers are required to provide clear privacy statements for the APIs or third-party libraries used, ensuring transparency and the protection of user privacy. 订阅中文版 RSS ..read more
Visit website
The @State Specter: Analyzing a Bug in Multi-Window SwiftUI Applications
Fatbobman's Blog
by
2w ago
In this article, we will delve into a bug affecting SwiftUI applications in multi-window mode and propose effective temporary solutions. We will not only detail the manifestation of this issue but also share the entire process from discovery to diagnosis, and finally, resolution. Through this exploration, our aim is to offer guidance to developers facing similar challenges, helping them better navigate the complexities of SwiftUI development. 订阅中文版 RSS Read More ..read more
Visit website
SwiftUI Views and @MainActor
Fatbobman's Blog
by
1M ago
An increasing number of developers are starting to enable strict concurrency checks in preparation for the arrival of Swift 6. Among the warnings and errors received, a portion relates to SwiftUI views, many of which stem from developers not correctly understanding or using @MainActor. This article will discuss the meaning of @MainActor, as well as tips and considerations for applying @MainActor within SwiftUI views. 订阅中文版 RSS Read More ..read more
Visit website
Practical SwiftData: Building SwiftUI Applications with Modern Approaches
Fatbobman's Blog
by
1M ago
In the previous article "Concurrent Programming in SwiftData", we delved into the innovative concurrent programming model proposed by SwiftData, including its principles, core operations, and related considerations. This elegant programming solution has earned considerable praise. However, as more developers attempt to use SwiftData in actual SwiftUI applications, they have encountered some challenges, especially after enabling Swift's strict concurrency checks. They found that SwiftData's actor-based concurrency model is difficult to integrate with traditional application construction methods ..read more
Visit website
Tips and Considerations for Using Lazy Containers in SwiftUI
Fatbobman's Blog
by
1M ago
In the SwiftUI framework, lazy layout containers such as List and LazyVStack provide a method for efficiently displaying large datasets. These containers are ingeniously designed to dynamically build and load views only when necessary, thereby significantly optimizing the app's performance and memory efficiency. This article will explore some practical tips and important considerations aimed at enhancing developers' ability to leverage SwiftUI's lazy containers for improved app responsiveness and resource management. 订阅中文版 RSS Read More ..read more
Visit website

Follow Fatbobman's Blog on FeedSpot

Continue with Google
Continue with Apple
OR