iOSProgramming

249 readers
2 users here now

A community to discuss iOS, macOS, watchOS, tvOS, and visionOS development. Ask questions. Share articles. Share links to open source projects. Links to commercial projects are acceptable if it is not self-promotional in nature.

For now, it is okay to ask for feedback on an app. Please be considerate and do not spam the community.

Quick Links

founded 1 year ago
MODERATORS
1
 
 

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
2
 
 

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.

3
 
 

Fatbobman's Swift Weekly #050 | Has Your App Been Defeated by the New System?

  • Data Binning
  • Style Text in Terminal
  • Pass Binding in NavigationDestination
  • SPM Snippets
  • Realm Deprecation
  • ContentMargins in SwiftUI
  • NSAttributedString Changes
4
 
 

Data binning is a commonly used data processing technique that typically divides continuous numerical or temporal data into multiple intervals (which are mostly adjacent and non-overlapping). This method not only covers the entire data range but also provides clear demarcation for data points within each interval. By performing data binning, we can analyze, visualize, and statistically process complex datasets more effectively. This article will explore how to use the advanced APIs provided by Swift Charts to achieve precise and efficient data binning.

5
 
 

Fatbobman's Swift Weekly #049 | Innovation Comes in Many Forms

  • Core Data Issue
  • Observable vs ObservableObject
  • SwiftData Expressions
  • Obj-c to SwiftUI
  • Swift Testing
  • Memory Leak
  • visionOS 2 PortalComponent
6
 
 

Fatbobman's Swift Weekly #048 | Apple Watch, The Sturdy Linchpin of the Apple Ecosystem

  • Hover Effects
  • AirDrop Conundrum
  • LockedCameraCapture Framework
  • iOS Performance
  • visionOS in Medical
  • Github Contribution Graph with Swift Charts
7
 
 

Fatbobman's Swift Weekly #047 | Societal Progress Through the Lens of Driver's License Medical Examinations

  • TipKit
  • Gucci App on VisionPro
  • App Size
  • Darwin Notifications
  • Custom Symbols in Control Center Widgets
  • init of View
  • UDP in SwiftNIO
8
 
 

Fatbobman's Swift Weekly #046 | Warning-Free Compilation is Not the Ultimate Goal of Swift 6

  • EditorConfig in Xcode
  • SwiftUI for Mac 2024
  • Guide to Xcode Cloud
  • Swift and WebAssembly
  • From Highlighting to AI
  • _ConditionalContent in List SubView
9
 
 

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
10
 
 

publication croisée depuis : https://programming.dev/post/18354166

A small publication with a Swift gist about a SwiftUI custom View which will swing to HStack or VStack dependent to the dynamic type size.

11
 
 

publication croisée depuis : https://programming.dev/post/18354171

Some details about improvements in accessibility features embedded within iOS 18

12
 
 

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.

13
 
 

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
14
 
 

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.

15
2
Fatbobman's Swift Weekly #043 (weekly.fatbobman.com)
submitted 1 month ago* (last edited 1 month ago) by fatbobman@programming.dev to c/ios_dev@programming.dev
 
 

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

16
 
 

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.

17
18
 
 

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
19
 
 

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
20
 
 

Features

  • Follow YouTube channels
  • Save videos for later
  • Filter out #shorts
  • Custom playback speed per channel
  • (pre-select) chapters
  • Picture-in-Picture & background audio
  • & more

It‘s free & open source

I‘m not extremely experienced, so any kind of feedback (especially code related) is very welcome :)

21
 
 

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.

22
 
 

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
23
 
 

In this article, Luca Ban introduces a method for automatic merging of string catalogs in multi-package monorepos without requiring additional operations.

24
 
 

This article aims to analyze the characteristics and advantages of List and LazyVStack to help you make a better decision.

25
 
 

Fatbobman's Swift Weekly #039 | New Challenges for Creators' Rights in the AI Era

  • Swift Testing
  • Avoid Data Race
  • Typed throws in Swift 6
  • Development Assets of Xcode
  • Enhance app launch experience
  • Explicitly build modules
view more: next ›