fatbobman

joined 7 months ago
 

Compared to Core Data, SwiftData has fundamentally revolutionized the way data models are constructed. It not only supports a purely code-based declaration method but also allows the direct use of types conforming to the Codable protocol and enum types within models, which are its significant new features. Many developers are inclined to leverage these new capabilities because they seem to fit very well with the Swift language’s declaration style. However, a lack of understanding of the implementation details and potential limitations of these new features may lead to various issues in the future. This article aims to discuss several key points to consider when using Codable and enums in SwiftData models, helping developers avoid common pitfalls.

6
Fatbobman's Swift Weekly #044 (weekly.fatbobman.com)
submitted 3 months ago by fatbobman to c/ios_dev
 

Fatbobman's Swift Weekly #044 | It's Time for a Summer Break

  • Analyzing Grid Layout Issues
  • Exploring Task Isolation Inheritance
  • Interesting Swift Websites
  • Customizing windows in SwiftUI
  • Swift Concurrency
  • Releasing Swift Binaries with Actions
 

This article will analyze a case of abnormal Grid layout, exploring the analytical approach and problem-solving strategies when encountering issues in everyday SwiftUI development.

2
Fatbobman's Swift Weekly #043 (weekly.fatbobman.com)
submitted 3 months ago* (last edited 3 months ago) by fatbobman to c/ios_dev
 

Fatbobman's Swift Weekly #043 | Archiving and Awakening Memories

  • Tile Image in SwiftUI
  • Exploring Writing Tools
  • Going Indie
  • WKWebView Cache Research
  • Performance Testing on CI
  • Swift 6 Migration
  • Non-Sendable
  • Reference to captured Error

https://weekly.fatbobman.com/p/fatbobmans-swift-weekly-043

4
submitted 3 months ago by fatbobman to c/ios_dev
 

In this article, we will explore two different implementations of image tiling and from there, introduce a less commonly used Image construction method in SwiftUI.

 

Fatbobman's Swift Weekly #042 | Experience is a Double-Edged Sword

  • Common Misconceptions About SwiftUI
  • Particle Effects with Canvas
  • Image Memory Optimization
  • Swift vs TypeScript
  • SwiftData Error Handling
  • Async Await in Swift
  • DebugDescription
 

This article aims to explore several common misconceptions of SwiftUI to help developers better understand and utilize SwiftUI

3
Fatbobman's Swift Weekly #041 (weekly.fatbobman.com)
submitted 4 months ago by fatbobman to c/ios_dev
 

Fatbobman's Swift Weekly #041 | My "Adventure" Journey to Hangzhou

  • Infinite Scrollable Pager with SwiftUI
  • CrowdStrike Event
  • Data Race in Swift 6
  • Xcode 16 Challenges
  • Exploring Math Notes in iPadOS 18
  • ScrollView in SwiftUI
 

The article discusses the challenges faced when implementing a four-direction scrollable pager component with SwiftUI, including limited customizability of ScrollView, inherent limitations of reactive programming, and lag in state release.

6
Fatbobman's Swift Weekly #040 (weekly.fatbobman.com)
submitted 4 months ago by fatbobman to c/ios_dev
 

Fatbobman's Swift Weekly #040 | Ensure "Driverless Cars" Don't Lead to "Jobless Masses"

  • List or LazyVStack
  • SwiftUI Pitfalls
  • From UIKit to SwiftUI
  • Entry Macro
  • String Catalogs
  • UI Testing in Xcode 16
 

In this article, Luca Ban introduces a method for automatic merging of string catalogs in multi-package monorepos without requiring additional operations.

4
submitted 4 months ago* (last edited 4 months ago) by fatbobman to c/ios_dev
 

This article aims to analyze the characteristics and advantages of List and LazyVStack to help you make a better decision.

view more: ‹ prev next ›