Post

Replies

Boosts

Views

Activity

Passing EnvironmentObject to all subviews
Hello,I have created an instance of EnvironmentObject in SceneDelegate and using it everywhere in the application without explicitly passing it to any component, and my application is already working as expected without any issues, however I'm asking just in case there's something I need to consider.Do I need to pass the instance of EnvironmentObject to all subviews that will use this environment object ?
2
0
2.5k
Jan ’20
Number of the Search Results in the Forums
The number of results that appear while searching the Apple Developer Forums are, almost, always 600. The problem is not in the number itself, but in the relevance of the results. Only couple of the results are relevant to the search term, and the other hundreds of them are irrelevant and viewing them is a time waste. The big quantity of irrelevant results discourages me to do more search in the forums. I hope that Apple improves the searching mechanism as soon as possible.
2
0
541
Jun ’20
NSAttributedString in Core Data (iOS 14)
I had an app built using SwiftUI and used to work without any issues, but when I build it for iOS 14 the app became very slow and the console began showing this message: 'NSKeyedUnarchiveFromData' should not be used to for un-archiving and will be removed in a future release After investigating, I concluded that using NSAttributedString in Core Data as Transformable object is the reason. Does anyone has a better way for storing NSAttributedString in Core Data for iOS 14 ?
7
0
3.2k
Jul ’20