fatbobman

joined 6 months ago
 

Fatbobman's Swift Weekly #056 | Reflections on the Pixelmator Acquisition

  • Apple is Killing Swift
  • iOS Performance Optimization
  • Understanding Actors
  • AnchoredRelativeFormatStyle
  • Type-Driven Design
  • Swift Concurrency
 
 
 

Fatbobman's Swift Weekly #055 | Master Technology, Don't Let It Master You

  • KeyPath in Swift
  • SwiftUI View Contracts
  • Swift Macros
  • AnyView in Xcode 16
  • Exploring Cursor
  • Swift Testing
 

In the world of Swift, KeyPath is a powerful yet often underestimated feature. Many developers use it inadvertently in their daily programming without fully realizing its potential and importance. This article aims to delve deeply into the functional characteristics of KeyPath, revealing its unique charm in Swift programming, and helping you transform it into a powerful assistant in your development process.

 

Fatbobman's Swift Weekly #054 | Security, Convenience, and Privacy

  • Applying SwiftData Principles in Core Data
  • Copy On Write
  • @preconcurrency
  • Visualizing SwiftUI Animations
  • Exploring Cursor
  • Data Loss in UserDefaults
 

This article will explore how to apply SwiftData’s way of thinking within Core Data, focusing on data modeling and concurrent programming.

 

Fatbobman's Swift Weekly #053 | Breaking the Annual Release Cycle: A New Dawn for Tech Innovation?

  • UserDefaults + Observation
  • SwiftUI Animation
  • Using Binaries as Libraries
  • Why I Stopped Building for visionOS
  • Arrays vs Sets
  • Dependency Injection in Swift
  • AI-Generated Unit Tests
 

This article will explore how to efficiently and conveniently manage data in UserDefaults under the Observation framework and propose a complete and practical solution.

ObservableDefaults responds to changes in UserDefaults from any source, offering the precision of Observation while maintaining the flexibility of AppStorage in handling modifications.

 

Fatbobman's Swift Weekly #052 | Reflecting on the Original Aspiration: On the First Anniversary of the Weekly's Inception

  • Dev Conversations
  • VoiceOver and Voice Control
  • Shared With You
  • UIKit or SwiftUI
  • SwiftUI Environment
 

Fatbobman's Swift Weekly #051 | Xcode Is Not Alone

  • NSManagedObjectID and PersistentIdentifier
  • Container in SwiftUI
  • Reduce Local AI Model Size
  • Blend modes
  • Tips of NSFetchedResultsController
  • Communication Patterns in SwiftUI
  • Mesh Gradients
 

Core Data and SwiftData are powerful data management frameworks designed by Apple for developers, capable of efficiently handling complex object relationships, hence known as object graph management frameworks. In these two frameworks, NSManagedObjectID and PersistentIdentifier serve similar functions and are both extremely important. This article will delve into their features, usage methods, and important considerations.

view more: next ›