All Posts

Mastering SwiftUI Scrolling: Implementing Custom Paging

Feb 12, 2025 #SwiftUI

Why Certain View Modifiers in Swift 6 Cannot Use the @State Property

Dec 24, 2024 #SwiftUI #Swift

Traps and Countermeasures for Abnormal onAppear Calls in SwiftUI

Dec 18, 2024 #SwiftUI

Model Inheritance in Core Data


Typefully: Say Goodbye to the Hassles of Social Media Posting

Dec 4, 2024 #Tools #Life

Intentional Design or Technical Flaw? The Anomaly of onChange in SwiftUI Multi-Layer Navigation

Nov 27, 2024 #SwiftUI

Using Transactions Instead of Save in SwiftData and Core Data


Understanding SwiftUI's View Update Mechanism: Starting from a TimelineView Update Issue

Nov 13, 2024 #SwiftUI

Mastering Data Tracking and Notifications in Core Data and SwiftData


Starting with Project Refactoring: Sharing Five Swift Modules


Comprehensive Guide to Mastering KeyPath in Swift

Oct 23, 2024 #Swift

Reinventing Core Data Development with SwiftData Principles


UserDefaults and Observation in SwiftUI: How to Achieve Precise Responsiveness


NSManagedObjectID and PersistentIdentifier: Mastering Data Identifiers in Core Data and SwiftData


Mastering Data Binning with Swift Charts


Considerations for Using Codable and Enums in SwiftData Models

Aug 14, 2024 #SwiftData

Nested Grid Layout Anomaly: Analysis Approach and Resolution Strategies for SwiftUI Layout Issues

Aug 7, 2024 #SwiftUI

How to Tile Images in SwiftUI

Jul 31, 2024 #SwiftUI

Common Misconceptions About SwiftUI

Jul 24, 2024 #SwiftUI

Developing an Infinite Four-Direction Scrollable Pager with SwiftUI


Techniques for Automatic Merging of String Catalogs in Multi-Package Monorepos

Jul 12, 2024 #Swift

List or LazyVStack: Choosing the Right Lazy Container in SwiftUI

Jul 10, 2024 #SwiftUI

Swifter and Swifty: Mastering the Swift Testing Framework


The Evolution of SwiftUI Scroll Control APIs and Highlights from WWDC 2024

Jun 26, 2024 #SwiftUI

Creating Stunning Dynamic Text Effects with TextRenderer

Jun 19, 2024 #SwiftUI

Impressions on WWDC 2024

Jun 17, 2024 #Apple Event

SwiftData in WWDC 2024: The Revolution Continues, Stability Still Awaits


Before WWDC 2024: The Future Potential and Real Challenges of SwiftData


Before WWDC 2024: Reviewing Key SwiftUI Upgrades from 2019 to 2023 and Their Impact


What Does spacing = nil Mean in SwiftUI?

May 15, 2024 #SwiftUI

Mastering the containerRelativeFrame Modifier in SwiftUI

May 8, 2024 #SwiftUI

Developing Embedded Applications with Swift


In-Depth Exploration of Overlay and Background Modifiers in SwiftUI

Apr 25, 2024 #SwiftUI

Core Data Reform: Achieving Elegant Concurrency Operations like SwiftData


The @State Specter: Analyzing a Bug in Multi-Window SwiftUI Applications

Apr 11, 2024 #SwiftUI

New Frameworks, New Mindset: Unveiling the Observation and SwiftData Frameworks


SwiftUI Views and @MainActor

Mar 28, 2024 #SwiftUI

Practical SwiftData: Building SwiftUI Applications with Modern Approaches


Tips and Considerations for Using Lazy Containers in SwiftUI

Mar 14, 2024 #SwiftUI

How to Dynamically Construct Complex Predicates for SwiftData


Swift Predicate: Usage, Composition, and Considerations

Feb 29, 2024 #SwiftData #Swift

How to Handle Optional Values in SwiftData Predicates

Feb 22, 2024 #SwiftData

Exploring Property Wrappers in SwiftUI: @UIApplicationDelegateAdaptor, @AccessibilityFocusState, @FocusedObject, @FocusedValue, and @FocusedBinding

Feb 7, 2024 #SwiftUI

Exploring SwiftUI Property Wrappers: @FetchRequest, @SectionedFetchRequest, @Query, @Namespace, @Bindable

Feb 1, 2024 #SwiftUI

Exploring SwiftUI Property Wrappers: @AppStorage, @SceneStorage, @FocusState, @GestureState and @ScaledMetric

Jan 25, 2024 #SwiftUI

Relationships in SwiftData: Changes and Considerations

Jan 18, 2024 #SwiftData

Mastering Relationships in Core Data: Practical Application

Jan 11, 2024 #Core Data

Mastering Relationships in Core Data: Fundamentals

Jan 4, 2024 #Core Data

Blog Update Chronicle: Welcoming 2024 with a New Blog

Dec 28, 2023 #Web

Exploring Key Property Wrappers in SwiftUI: @State, @Binding, @StateObject, @ObservedObject, @EnvironmentObject, and @Environment

Dec 21, 2023 #SwiftUI

Advanced iCloud Documents: Understanding Placeholder Files, Space Optimization, and Operational Techniques

Dec 14, 2023 #CloudKit

In-Depth Guide to iCloud Documents: Fundamental Setup and File Operations

Dec 7, 2023 #CloudKit

SwiftUI geometryGroup() Guide: From Theory to Practice

Nov 30, 2023 #SwiftUI

Pair Programming with AI

Nov 23, 2023 #AI #Web

Mastering ViewThatFits

Nov 16, 2023 #SwiftUI

GeometryReader: Blessing or Curse?

Nov 9, 2023 #SwiftUI

How to Observe Data Changes in SwiftData using Persistent History Tracking

Nov 2, 2023 #SwiftData

Mastering TipKit: Advanced


Mastering TipKit: Basics


Concurrent Programming in SwiftData

Oct 11, 2023 #SwiftData

Unveiling the Data Modeling Principles of SwiftData

Oct 7, 2023 #SwiftData

Exploring CoreData - From Data Model Creation to Managed Object Instances

Sep 19, 2023 #Core Data

SwiftDataKit: Unleashing Advanced Core Data Features in SwiftData


Common Pitfalls Caused by Delayed State Updates in SwiftUI

Aug 30, 2023 #SwiftUI

WWDC 2023, What’s New in Core Data

Jul 4, 2023 #Core Data

The Secret to Flawless SwiftUI Animations: A Deep Dive into Transactions

Jun 27, 2023 #SwiftUI

A Deep Dive Into Observation: A New Way to Boost SwiftUI Performance

Jun 19, 2023 #SwiftUI #Swift

Deep Dive into the New Features of ScrollView in SwiftUI 5

Jun 13, 2023 #SwiftUI

WWDC 23, First Impressions of SwiftUI 5 and SwiftData


Five Years Since the Transplant

May 31, 2023 #Life

Building Stable Preview Views: How SwiftUI Previews Work

May 23, 2023 #SwiftUI

What I Hope to See for Core Data at WWDC 2023


What I Hope to See for SwiftUI at WWDC 2023


I Attended a SwiftUI Tech Salon in Beijing

Apr 25, 2023 #Life

Building Cross-Platform SwiftUI Apps

Apr 25, 2023 #SwiftUI

AI Services that I am Currently Using

Apr 11, 2023 #AI

Timing of onAppear Invocation

Mar 29, 2023 #SwiftUI

MacBook Pro Usage Experience

Mar 15, 2023 #Life

Memory Optimization Journey for a SwiftUI + Core Data App


Layout in SwiftUI Way

Mar 1, 2023 #SwiftUI

Cracking the Code: The Mysterious @State Injection Mechanism

Feb 23, 2023 #SwiftUI

Customizing the Appearance and Interaction Behavior of Buttons

Feb 16, 2023 #SwiftUI

SwiftUI and Core Data: Safely Responding to Data


SwiftUI and Core Data: Data Fetching


SwiftUI and Core Data: Data Definition


SwiftUI and Core Data: The Challenges


Adaptive Programmatic Navigation in SwiftUI

Nov 15, 2022 #SwiftUI

Unified Resource Management in Multi-package Projects


Ask Apple 2022 Q&A Related to SwiftUI (Part 2)


Ask Apple 2022 Q&A Related to SwiftUI (Part 1)


Ask Apple 2022 Q&A Related on Core Data (Part 2)


Ask Apple 2022 Q&A Related on Core Data (Part 1)


The Composable Architecture (TCA)


SwiftUI’s StateObject and ObservedObject: The Key Differences

Oct 11, 2022 #SwiftUI

Reflections on iBug 16

Sep 27, 2022 #Life

Some Suitable Tutorials for SwiftUI Beginners

Sep 20, 2022 #SwiftUI

How to Determine if ScrollView, List is Currently Scrolling in SwiftUI


Old Man New Soldier - A Development Memoir of an iOS APP

Sep 6, 2022 #Dev Diary

Several Ways to Center Views in SwiftUI

Aug 30, 2022 #SwiftUI

Implementing Keyword-based Search and Positioning in SwiftUI Text

Aug 23, 2022 #SwiftUI

Mixing Text and Image in SwiftUI

Aug 16, 2022 #SwiftUI

Mastering the SwiftUI task Modifier

Aug 9, 2022 #SwiftUI

How to Avoid Repeating SwiftUI View Updates

Aug 2, 2022 #SwiftUI

Switching Core Data Cloud Sync Status in Real-Time


SwiftUI Layout: Cracking the Size Code

Jul 19, 2022 #SwiftUI

SwiftUI Layout: The Mystery of Size

Jul 12, 2022 #SwiftUI

Alignment in SwiftUI: Everything You Need to Know

Jul 5, 2022 #SwiftUI

Creating Tables with Table in SwiftUI

Jun 22, 2022 #SwiftUI

The New Navigation System in SwiftUI

Jun 14, 2022 #SwiftUI

Batch Operations in Core Data

Jun 6, 2022 #Core Data

How Core Data Saves Data in SQLite

May 31, 2022 #Core Data

Best Practices for Detecting and Opening URLs in SwiftUI

May 24, 2022 #SwiftUI

Going Beyond @Published:Empowering Custom Property Wrappers

May 17, 2022 #SwiftUI #Swift

Demystifying SwiftUI Animation: A Comprehensive Guide

May 10, 2022 #SwiftUI

The Blogging Tools I'm Currently Using

May 5, 2022 #Web

Demystifying SwiftUI List Responsiveness: Best Practices for Large Datasets

Apr 26, 2022 #SwiftUI

Mastering zIndex in SwiftUI

Apr 19, 2022 #SwiftUI

ViewBuilder Research: Creating a ViewBuilder Imitation

Apr 12, 2022 #SwiftUI

ViewBuilder Research: Mastering Result Builders

Apr 6, 2022 #SwiftUI

SwiftUI Overlay Container 2: Customizable, Efficient, and Convenient View Manager


Blog Hiatus Notice

Jan 24, 2022 #Web

Count Queries in Core Data: The Master Guide

Jan 17, 2022 #Core Data

Customizing Gestures in SwiftUI

Jan 10, 2022 #SwiftUI

Exploring Xcode Playground (Part 2)

Dec 31, 2021 #Dev Tools

Exploring Xcode Playground (Part 1)

Dec 27, 2021 #Dev Tools

Swift Playgrounds 4: Entertainment or Productivity

Dec 20, 2021 #Dev Tools

Using NSUbiquitousKeyValueStore with SwiftUI


Collaboration between Combine and async/await

Dec 6, 2021 #Swift

Lifecycle of SwiftUI Views

Nov 28, 2021 #SwiftUI

Mastering Safe Area in SwiftUI

Nov 22, 2021 #SwiftUI

How to Deep Copy NSManagedObject in Core Data


Implementing iOS Notes' Document Scanning Feature with Apple's Official API

Nov 10, 2021 #AI

Several Tips on Core Data Concurrency Programming

Nov 5, 2021 #Core Data

Mastering Core Data Stack

Nov 2, 2021 #Core Data

Understanding SwiftUI's onChange

Oct 29, 2021 #SwiftUI

How to use Derived and Transient Properties in Core Data

Oct 26, 2021 #Core Data

Advanced SwiftUI TextField: Events, Focus, Keyboard

Oct 21, 2021 #SwiftUI

Reflecting on Two Years of Using Health Notes and My Physical Condition in Recent Years

Oct 18, 2021 #Life

Advanced SwiftUI TextField: Formatting and Validation

Oct 12, 2021 #SwiftUI

AttributedString: Making Text More Beautiful Than Ever


Apple’s New Formatter API: Comparison of Old and New and How to Customize


Globalize Your SwiftUI App: A Comprehensive Guide to Localization

Sep 26, 2021 #SwiftUI

Showcasing Core Data in Applications with Spotlight

Sep 22, 2021 #Core Data

SheetKit: SwiftUI Modal View Extension Library


How to Implement interactiveDismissDisabled in SwiftUI

Sep 15, 2021 #SwiftUI

Core Data with CloudKit: Sharing Data in the iCloud


Rebuilding SwiftUI's Redux-like State Container with Async-Await

Sep 6, 2021 #Swift #SwiftUI

Enhancing SwiftUI Navigation Views with NavigationViewKit


How to Preview a SwiftUI View with Core Data Elements in Xcode


Using UIKit Views in SwiftUI

Aug 23, 2021 #SwiftUI

Blog Update Journal

Aug 17, 2021 #Web

Core Data with CloudKit: Synchronizing Public Database


Core Data with CloudKit: Troubleshooting


Core Data with CloudKit: Exploring the CloudKit Dashboard


Core Data with CloudKit: Syncing Local Database to iCloud Private Database


Core Data with CloudKit: The Basics


Mastering @AppStorage in SwiftUI

Jul 31, 2021 #SwiftUI

Using Persistent History Tracking in CoreData

Jul 27, 2021 #Core Data

Impressions After WWDC 2021

Jun 18, 2021 #Apple Event

Setting Up a Swift Development and Debugging Environment on Linux

Feb 15, 2021 #Swift #Dev Tools

Creating a Blog with Publish: Plugin


Creating a Blog with Publish: Theme


Creating a Blog with Publish: Getting Started

Jan 30, 2021 #Web #Frameworks

Adapting to iPad in SwiftUI

Oct 29, 2020 #SwiftUI

Discussing CoreData Usage in SwiftUI


Introducing Several Swift or SwiftUI Third-Party Libraries Used in Developing Health Notes 2


Development Musings for Health Notes 2.0 (Part 6)

Oct 26, 2020 #Dev Diary

Health Notes 2.0 Official Version is Complete!

Oct 26, 2020 #Dev Diary

Development Musings for Health Notes 2.0 (Part 5)

Oct 7, 2020 #Dev Diary

Development Musings for Health Notes 2.0 (Part 4)

Sep 17, 2020 #Dev Diary

Creating a Sheet in SwiftUI with Controllable Cancel Gestures

Sep 17, 2020 #SwiftUI

Development Musings for Health Notes 2.0 (Part 3)

Sep 5, 2020 #Dev Diary

How to Create a Real-Time Responsive Form in SwiftUI

Sep 4, 2020 #SwiftUI

Pop Up Different Sheets in SwiftUI as Needed

Sep 4, 2020 #SwiftUI

Development Musings for Health Notes 2.0 (Part 2)

Aug 24, 2020 #Dev Diary

Discussing List and ForEach in SwiftUI

Aug 24, 2020 #SwiftUI

Development Musings for Health Notes 2.0 (Part 1)

Aug 17, 2020 #Dev Diary

SwiftUIOverlayContainer — A SwiftUI Library for Creating Customized Popup Views


Implementing the Side Menu for the iOS Mail App with SwiftUI


HowTo —— File Import and Export in SwiftUI 2.0

Jul 28, 2020 #SwiftUI

HowTo —— Using ScrollViewReader to Scroll to Position in SwiftUI 2.0

Jul 23, 2020 #SwiftUI

HowTo —— Using ProgressView in SwiftUI 2.0 to Display Progress Bars

Jul 12, 2020 #SwiftUI

HowTo —— Handling Universal Links with onOpenURL

Jul 11, 2020 #SwiftUI

HowTo —— Use ToolBar to Replace navigationbarItems in SwiftUI2.0

Jul 10, 2020 #SwiftUI

HowTo —— Use Link or openURL to open URL scheme in SwiftUI2.0

Jul 10, 2020 #SwiftUI

HowTO —— SwiftUI 2.0 LazyGrid

Jul 10, 2020 #SwiftUI

HowTo —— How to Use Label in SwiftUI 2.0

Jul 9, 2020 #SwiftUI

HowTo - SwiftUI 2.0 LazyVStack and LazyHStack

Jul 9, 2020 #SwiftUI

HowTo - Displaying Maps in a View with Swift 2.0

Jul 9, 2020 #SwiftUI

SwiftUI 2.0 — Apps, Scenes, and New Code Structures (Part 2)

Jul 8, 2020 #SwiftUI

SwiftUI 2.0 — App, Scene, and New Code Structure (Part 1)

Jul 8, 2020 #SwiftUI

@FocusedBinding Overview

Jul 5, 2020 #SwiftUI

SwiftUI 2.0 — Commands (macOS Menu)

Jun 27, 2020 #SwiftUI

SwiftUI 2.0 —— Research on @StateObject

Jun 26, 2020 #SwiftUI

Single Source of Truth in SwiftUI: Is ObservableObject Enough?

May 17, 2020 #SwiftUI

@State Research in SwiftUI

May 17, 2020 #SwiftUI

Installation and Configuration of Vapor4

May 7, 2020 #Frameworks

After Many Years, I Have Recreated My Blog

Apr 30, 2020 #Web