fatbobman

joined 4 months ago
 

Fatbobman's Swift Weekly #045 | We Need More "Wukong"

  • Codable and Enums in SwiftData Models
  • Global Sheets Pattern in SwiftUI
  • SwiftUI: Perception and Reality
  • Emoji in 2024
  • Disabling Xcode Asset Symbol Generation
  • Insights on App Review
 

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.

 

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 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/[email protected]
 

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

 

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

 

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.

 

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.

view more: next ›