Post

Replies

Boosts

Views

Activity

Comment on CKRecordValue type NSDate stores nil value?
In CoreData, Dates are saved with a time interval from a reference date (which is 2001-01-01 00:00:00). The date field is "optional' in CoreData, and when saving 'nil', the value sent to CloudKit is the reference date, and when accessing the date, for CoreData it is not nil, I have the reference data as a value. One workaround could be something like : date.timeIntervalSinceReferenceDate != .zero but just no
Feb ’23
Comment on Stop using MVVM for SwiftUI
Agree, a lot of great developers have tried MVVM / The Clean Architecture (TCA) first with SwiftUI, and now, the same developers are going back and all say "Use simply SwiftUI and learn how it works - it just works with no BS" And you can always optimise your views when needed (re-rendering != re-evaluating, SwiftUI is smarter every year)
Oct ’22
Comment on Stop using MVVM for SwiftUI
Hello and thank you for this awesome thread. I agree with you on this, and SwiftUI is a completely new way of thinking for iOS. It's like when you are developing using ECS instead of OOP. And again, it depends your app and/or feature. You are not limited to one-exclusive pattern or achitecture for your app. I have some questions about this, and your last post is perfect as an example.
Sep ’22