Swift

406 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 2 years ago
MODERATORS
1
 
 

Swift 6.1 unleashes official WebAssembly builds through SwiftWasm—no patches required. Dive into this article to discover how to craft WebAssembly apps with Swift and unlock the boundless potential of cross-platform development.

2
5
Fatbobman's Swift Weekly #078 (weekly.fatbobman.com)
submitted 3 days ago by fatbobman to c/swift
 
 

Do Not Market Driver-Assistance as Autonomous Driving | Fatbobman's Swift Weekly #078

  • Environment dismiss
  • Swift 6.1
  • Cross Compiling Swift
  • Modern URL Construction
  • Inspector
  • MKMapView to Image
  • MCP-Supported AI Frameworks
  • State Management
3
 
 

In SwiftUI, dismiss is popular for its flexibility, but overusing it can introduce hidden risks, testing challenges, and stability issues. Opt for state-driven methods like Binding or custom environments for safer, more maintainable UI logic.

4
5
Swift 6.1 Released (www.swift.org)
submitted 1 week ago by [email protected] to c/swift
5
2
Fatbobman's Swift Weekly #077 (weekly.fatbobman.com)
submitted 1 week ago by fatbobman to c/swift
 
 

The Rise of MCP and Apple's AI Framework Vision | Fatbobman's Swift Weekly #077

  • SwiftUI Environment
  • TCA
  • CustomTestStringConvertible
  • Flexible, Styled Component
  • TabView
  • ModelActor
  • Avoid Xcode Projects Merge Conflicts
  • Swiftly 1.0
6
7
8
 
 

SwiftUI’s Environment is a powerful and elegant mechanism for dependency injection, and almost every SwiftUI developer encounters and uses it in daily development. Not only does it simplify data transfer between views, it also opens up greater possibilities for application architecture design. In this article, we will set aside specific implementation details and instead focus on the role and boundaries of Environment within an architecture, exploring some often-overlooked yet crucial design ideas and practical experiences.

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

Photographing My Fur Babies | Fatbobman's Swift Weekly #076

  • Intercept iPhone Network Requests
  • Why I Avoid Group
  • Sign in with Apple in the watchOS Simulator
  • Color Space
  • MCP server in Swift
  • Macro Issues in Xcode Cloud
  • Git Hooks in Swift
10
4
Fatbobman's Swift Weekly #075 (weekly.fatbobman.com)
submitted 3 weeks ago by fatbobman to c/swift
 
 

OpenAI Appeals to the US Government: Competitive Concerns Over DeepSeek | Fatbobman's Swift Weekly #075

  • Key Considerations Before Using SwiftData
  • Async/Await & SwiftUI
  • Swift Compiler Issue
  • Swift Testing Tip
  • Interactive Charts
  • Browse No More
11
 
 

This article aims to serve as a guide for developers interested in SwiftData, helping you understand its strengths and limitations so you can make informed decisions based on your project needs. Whether you’re considering adopting SwiftData in a new project or planning a migration from another persistence solution, the following content will provide valuable insights to support your decision-making process.

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

The Cycle of Expectation and Disappointment: Apple's AI Dilemma and Resilience | Fatbobman's Swift Weekly #074

  • Lazy State
  • Dynamically Generic Types
  • Custom Lazy List
  • Directory to Folder
  • UICollectionViewCell
  • Clean Xcode Junk
  • Reusable CI
13
 
 

The Observation framework has brought native property-level observation to Swift, effectively preventing unnecessary view updates in SwiftUI triggered by unrelated property changes, thereby enhancing application performance. However, since @State does not offer a lazy initialization constructor like @StateObject, it may lead to performance degradation or even logical issues due to the premature construction of instances in certain scenarios. This article explores how to implement a lazy initialization solution for Observable instances using @State.

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

Experiencing the Passion of Apple Developers at the Carnival | Fatbobman's Swift Weekly #073

  • Animatable Protocol
  • New Stuff with 6.1
  • Task.sleep vs. Task.yield
  • View Models with Enums
  • Music Recognition with ShazamKit
  • OpenSwiftUI & Harmony
15
16
17
 
 

The SwiftUI Animatable protocol allows for precise animation control, resolving issues like missing or inconsistent animations. Learn how animatableData can improve animation accuracy and stability in complex UI scenarios.

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

Beyond X: The Swift Community Embraces Mastodon and Bluesky | Fatbobman's Swift Weekly #072

  • From Host to Serverless
  • Swift Server Case
  • Git Commits Tips
  • async let vs Task Group
  • Test in SwiftUI
  • Custom SF Symbol
  • Concurrency and Legacy Code
19
4
Fatbobman's Swift Weekly #072 (weekly.fatbobman.com)
submitted 1 month ago by fatbobman to c/swift
 
 

Beyond X: The Swift Community Embraces Mastodon and Bluesky | Fatbobman's Swift Weekly #072

  • From Host to Serverless
  • Swift Server Case
  • Git Commits Tips
  • async let vs Task Group
  • Test in SwiftUI
  • Custom SF Symbol
  • Concurrency and Legacy Code
20
21
3
Fatbobman's Swift Weekly #071 (weekly.fatbobman.com)
submitted 1 month ago by fatbobman to c/swift
 
 

Building Android Apps with Swift | Fatbobman's Swift Weekly #071

  • Implementing Custom Paging
  • Exploring MLX Swift
  • Deep Links in SwiftUI
  • Using TranslateKit for Localization
  • xcconfig in Xcode
  • Swift Interoperability with C
22
23
3
Fatbobman's Swift Weekly #070 (weekly.fatbobman.com)
submitted 1 month ago by fatbobman to c/swift
 
 

Feedback and Communication | Fatbobman's Swift Weekly #070

  • Apple Vision Pro 1 Year Later
  • ControlGroup
  • Sound Engineering on iOS
  • Drawing Maps with Swift Charts
  • TaskGroups
  • Parameterized Tests
24
 
 

Fireworks and Drones | Fatbobman's Swift Weekly #069

  • Swift Build
  • Swift Concurrency Glossary
  • Multiplatform Development
  • Send Email in iOS
  • PhotosKit Storage Model
  • macOS System Services
25
view more: next ›