Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fatbobman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
59 ms
·
151.
▲
by
fatbobman
3y ago
NSCompoundPredicate allows developers to combine multiple NSPredicate objects into a single compound predicate. This mechanism is particularly suited for scenarios that require data filtering based on multiple criteria. However, in the new
152.
▲
by
fatbobman
3y ago
In this article, we will continue to explore property wrappers in SwiftUI: @AppStorage, @SceneStorage, @FocusState, @GestureState, and @ScaledMetric. These property wrappers cover various aspects including data persistence, interactive resp
153.
▲
by
fatbobman
3y ago
In iOS 16, SwiftUI introduces a new adaptive layout container called ViewThatFits. As the name suggests, its purpose is to find the most appropriate view among a given set of views and use it. For most people, this is a simple and easy-to-u
154.
▲
by
fatbobman
3y ago
In the improvements of SwiftData, the ability to declare data models purely in code undoubtedly left a deep impression on Core Data developers. This article will delve into how SwiftData creates data models through code, its new language fe
155.
▲
by
fatbobman
3y ago
NSUbiquitousKeyValueStore can be understood as a network-synced version of UserDefaults. It is a member of the CloudKit service project and can easily share data across different devices (with the same iCloud account) with simple configurat
156.
▲
SwiftUI Layout – Cracking the Size Code
(betterprogramming.pub)
2 points
by
fatbobman
3y ago
|
3 comments
157.
▲
by
fatbobman
3y ago
In the “SwiftUI Layout — The Mystery of Size”, we explained numerous sizing concepts involved in the SwiftUI layout process. In this article, we will further deepen our understanding of the SwiftUI layout mechanism by imitating the view mod
158.
▲
by
fatbobman
3y ago
As the successor of Core Data, the brand new SwiftData framework was officially released at WWDC 2023. SwiftData is expected to become the primary object graph management and data persistence solution in the Apple ecosystem for a long time
159.
▲
by
fatbobman
3y ago
In SwiftUI, the concept of size, which is extremely important in layout, has become somewhat mystifying. Setting sizes or obtaining sizes is not as intuitive as one would expect. This article will unveil the veil covering the SwiftUI size c
160.
▲
by
fatbobman
4y ago
Having a powerful theme system is one of the key factors in the success of a static website generator. Publish uses Plot as the development tool for themes, allowing developers to enjoy the benefits of Swift’s type safety while efficiently
161.
▲
by
fatbobman
4y ago
Developers who have used Core Data must have seen the Derived and Transient properties in the attribute panel on the right-hand side when editing the Data Model. There is not much documentation available on these two properties, and most de
162.
▲
by
fatbobman
4y ago
This article is the sharing content of the author’s participation in the “SwiftUI Technology Salon (Beijing Station)” event on April 20, 2023. It is based on memory and organization.
163.
▲
by
fatbobman
4y ago
This article will discuss a framework that is perfectly suited for creating complex SwiftUI applications — The Composable Architecture (TCA). It will cover its features and advantages, recent developments, considerations when using it, and
164.
▲
by
fatbobman
4y ago
This article blends the Layout protocol with SwiftUI’s “alignment” to aid readers in comprehending and mastering it more effectively
165.
▲
by
fatbobman
4y ago
Ask Apple provides developers with an opportunity to directly communicate with Apple engineers outside of WWDC. This article summarizes some of the Q&A related to Core Data from this event, and adds a bit of personal insight. This is Pa
166.
▲
by
fatbobman
4y ago
This article will introduce the communication mechanism between @Published and instances of classes that conform to the ObservableObject protocol, and demonstrate how to add the ability to access the properties or methods of the wrapped cla
167.
▲
by
fatbobman
4y ago
Ask Apple creates an opportunity for developers to directly communicate with Apple engineers outside of WWDC. This article compiles some of the Q&A related to Core Data from the event, and includes some personal insights. This is Part 1
168.
▲
by
fatbobman
4y ago
This article will go through a step-by-step memory optimization process for a demo app (originally using 1.6 GB of memory to display 100 data items, optimized to display hundreds of data items using only 200 MB memory).
169.
▲
by
fatbobman
4y ago
This document will guide you in optimizing view calculations in SwiftUI. The methods include optimizing construction parameters, breaking down views, implementing Equatable, and controlling event sources. Understanding these principles is c
170.
▲
by
fatbobman
4y ago
In this article, we will explore how to achieve text localization in iOS development.
171.
▲
by
fatbobman
4y ago
This article will introduce the similarities, differences, principles, and precautions between StateObject and ObservedObject in SwiftUI.
172.
▲
SwiftUI’s StateObject and ObservedObject: The Key Differences
(medium.com)
2 points
by
fatbobman
4y ago
|
1 comments
173.
▲
Cracking the Code: The Mysterious State Injection Mechanism
(medium.com)
1 points
by
fatbobman
4y ago
|
1 comments
174.
▲
by
fatbobman
4y ago
This article will explore SwiftUI @State injection optimization mechanism, the generation timing of modal views (Sheet, FullScreenCover), and data coordination between different contexts (mutually independent view trees) through a reproduci
175.
▲
by
fatbobman
4y ago
This article provides a comprehensive introduction to the animation mechanism of SwiftUI and provides a large amount of demonstration code
176.
▲
SwiftUI Animation Mechanism
(betterprogramming.pub)
1 points
by
fatbobman
4y ago
|
1 comments
177.
▲
Ask Apple 2022 Q&A Related to SwiftUI
(medium.com)
2 points
by
fatbobman
4y ago
|
1 comments
178.
▲
by
fatbobman
4y ago
I have organized some Q&A about SwiftUI in Ask Apple 2022 and added some personal insights.