Swift

363 readers
1 users here now

This group focus on the content related to the development of Apple Eco-system software. So feel free to share and talk about, for example;

founded 1 year ago
MODERATORS
1
 
 

Fatbobman's Swift Weekly #057 | Ultra-Wide Virtual Display is Great, But We Expect More

  • Data Tracking in Core Data & SwiftData
  • Ownership and ~Copyable
  • Dev Containers
  • Sendable with SwiftData
  • Swift Format in Xcode
  • Self-Sizing Flow Layouts
2
 
 

Core Data and SwiftData, as powerful persistence frameworks in the Apple ecosystem, not only provide declarative data listening tools like @FetchRequest and @Query, but also have a complete set of data tracking and notification mechanisms built-in. Understanding and mastering these mechanisms is crucial for building robust data-driven applications. This article will take you through multi-layered solutions—from simple custom notifications to the powerful Persistent History Tracking and SwiftData History—to help you handle various complex data synchronization scenarios.

3
 
 

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
4
 
 
5
 
 
6
 
 

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
7
 
 

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.

8
 
 

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
9
 
 

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

10
 
 

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
11
 
 

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.

12
 
 

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
13
14
 
 
15
 
 

Wrote this up in kind of hurry, but people seem to like it. Thought I’d throw it up over here.

16
17
18
 
 

“Today, we're going through the many techniques in the Swift Concurrency toolkit. We'll discuss theory when it's appropriate, but for each tool we'll also provide a context where it might be the best solution.”

19
20
 
 

“E.V.A Information Security researchers uncovered several vulnerabilities in the CocoaPods dependency manager that allows any malicious actor to claim ownership over thousands of unclaimed pods and insert malicious code into many of the most popular iOS and MacOS applications. These vulnerabilities have since been patched.”

21
22
23
 
 

“The Swift compiler is notoriously slow due to how types are inferred. Every June I hope that Apple will announce that they fixed it; sadly this is not that year.”

24
9
What's new in Swift 6.0? (www.hackingwithswift.com)
submitted 5 months ago by [email protected] to c/[email protected]
25
 
 

Hey all! I've been writing up a series on the changes coming to Swift 6 related to concurrency. Thought I'd start sharing them here too.

view more: next ›