D.K.
D.K.
Use `setContentCompressionResistancePriority` in order for the view to actually collapse. In your example, change the updateUIView to this: ```swift func updateUIView(_ uiView: MarqueeLabel, context: Context) { uiView.textAlignment = .center uiView.text...
Update: After finding a [post of someone experiencing a similar issue](https://www.mongodb.com/community/forums/t/swiftui-slow-loading-views/147346) I rolled back from 10.21.1 to 10.21.0 which completely fixed the issue. Loading times in this version are almost...
The following implementation using write works, but I would like to do this using asyncWrite. ```swift func fetchOrCreateUser(forPrimaryKey: String) async throws -> User? { let user = try await MainActor.run...
You are totally right, sorry for writing about `writeAsync()` as well, I am only concerned with `asyncWrite()` here, since I call only using the async/await syntax.
One more thing I just tried: I made a global actor like so: ```swift @globalActor actor RealmBackgroundActor { static var shared = RealmBackgroundActor() } ``` And I marked the class...
Same issue here... Works perfectly with 11.0.1
I can't believe that this has still not been fixed😟. (now using 12.0.0)