fatbobman

joined 1 year ago
3
Fatbobman's Swift Weekly #085 (weekly.fatbobman.com)
submitted 5 days ago by fatbobman to c/swift
 

Have You Registered for WWDC 2025 Group Labs Yet?

  • ✨ Experience the Charm of Swift
  • 🌌 Apple Developer Relations
  • 🤚 Creating Xcode Source Editor Extensions
  • 📊 Mesh Gradients in SwiftUI
  • and more...
 

Use Swift’s generics, KeyPath, protocol extensions, and ResultBuilder to build a type-safe DataFrame export tool with TabularData. Dive into column mapping, conditional logic, and clean DSL syntax for maximum flexibility

2
Fatbobman's Swift Weekly #084 (weekly.fatbobman.com)
submitted 1 week ago by fatbobman to c/swift
 

Fatbobman’s Swift Weekly #084 is out!

Awaiting WWDC 2025 with Serenity

  • ✨ SwiftUI’s .ignoredByLayout()
  • 🌌 Picker With Optional Selection
  • 🤚 Don't Save SQLite in App Group Container
  • 📊 Default isolation with Swift 6.2

and more...

 

Among SwiftUI’s many APIs, .ignoredByLayout() is something of an “understated member.” Information is scarce, usage scenarios are uncommon, and its very name tends to raise questions. It seems to suggest some kind of “ignoring” of the layout—but how does that differ from modifiers like offset or scaleEffect, which by default don’t affect their parent’s layout? When does ignoredByLayout actually come into play, and what exactly does it “ignore” or “hide”? In this article, we’ll lift the veil on this subtle API in SwiftUI’s layout mechanism.

2
Fatbobman's Swift Weekly #083 (weekly.fatbobman.com)
submitted 2 weeks ago by fatbobman to c/swift
 

Don't Let Vibe Coding Hinder Your Technical Growth

Fatbobman’s Swift Weekly #083 is out!

  • 📏 A Complete Guide to Swift Measurement
  • 🔒 SwiftUI View Model Ownership
  • 🍫 Cocoa Basics
  • 🖥️ xtool - Cross-platform alternative to Xcode

and more...

 

In everyday life we constantly convert values between different units of measurement. For developers this seems easy—write a few formulas, sprinkle in a couple of switch statements and you’re done. But the moment you try to support dozens of units, seamless internationalisation, formatting, precision and rounding, the workload sky-rockets and the drudgery can make you question your life choices. The good news: starting with iOS 10 Apple added a comprehensive Measurement API to Foundation, taking all that “donkey work” off our hands. This article walks you through its usage and best practices.

6
Fatbobman's Swift Weekly #082 (weekly.fatbobman.com)
submitted 3 weeks ago by fatbobman to c/swift
 

Apple Pays the Price for Its Arrogance

Fatbobman’s Swift Weekly #082 is out!

  • 🍏 Using equatable() in SwiftUI
  • 🆕 What's New in Swift 6.1
  • 🔒 Mutex in Swift
  • 🎨 Convert VS Code Themes to Xcode

…and more

 

NavigationLink is a component SwiftUI developers love. By ingeniously combining the behavior of Button with navigation logic, it dramatically simplifies code. Unfortunately, in certain scenarios, using it the wrong way can create serious performance issues and make your app sluggish. This article analyzes the cause of the problem and offers a practical—albeit slightly mysterious—solution: adding the equatable() modifier to optimize performance.

3
Fatbobman's Swift Weekly #081 (weekly.fatbobman.com)
submitted 1 month ago by fatbobman to c/swift
 

The Chrome Paradox: Could DOJ’s Antitrust Remedy Create OpenAI’s Next Monopoly?

Fatbobman’s Swift Weekly #081 is out!

🔧 make NSImage sendable 🖼️ custom about window for a Mac 🌀 fully native cross-platform Swift apps …and more

 

Swift’s powerful type system empowers us to create semantically explicit and safe data models. Yet when we move to SwiftData or Core Data, the constraints of their underlying storage mechanisms often force us to compromise on type expressiveness. Those concessions blur our domain models’ intent and plant hidden seeds of instability.

This article explores how, within the restrictions of persistence layers, we can leverage ingenious type wrappers and conversions to build data models that are simultaneously Type-safe, semantically clear, and highly efficient.

5
Fatbobman's Swift Weekly #080 (weekly.fatbobman.com)
submitted 1 month ago by fatbobman to c/swift
 

Shorter Validity, Longer Shelf Life | Fatbobman's Swift Weekly #80

  • My Hopes for Xcode
  • SwiftUI Colors
  • Zooming Slider
  • Thinking of WWDC
  • Alerts in iOS
  • Swift Reduce
  • XcodeBuild MCP
  • Swift Regex
1
My Hopes for Xcode (fatbobman.com)
submitted 1 month ago by fatbobman to c/swift
 

Can Xcode still capture developers’ enthusiasm? What changes does it need to stay competitive and relevant? In this article, I will outline several key improvements I hope to see in Xcode.

view more: next ›