Post

Replies

Boosts

Views

Activity

Comment on Get CloudKit records created by specific user
Ok something I just found by testing a theory. The existing records are not showing when I do the query you suggested previously, but if I create a new record from CloudKit console then it shows in the query. Also if I edit a record using CloudKit console with the iCloud user then it shows... Does this mean that only the new records are going to get indexes? And what about once I deploy these changes to production, am I going to have problems for a while because it isn't indexing properly?
2w
Comment on SwiftUI - Using the Drag and Magnification Gestures Sequenced
Yea, I was doing this for my scaling: `Image(uiImage: image)                     .resizable()                     .frame(width: width, height: height)                     .clipShape(RoundedRectangle(cornerRadius: 20))                     .scaleEffect(self.isDragging ? 1.5 : 1)                     .offset(self.currentPosition)                     .gesture(combined)                     .scaleEffect(self.scale)                     .onAppear{                         self.loadImage()` So basically assigning the changed scale to the .scaleEffect() of the view. I also tried with the new .onUpdated() in the MagnificationGesture, like this: `.gesture(MagnificationGesture()                         .updating($scale, body: { (value, scale, trans) in                             scale = value.magnitude                         }))             .scaleEffect(scale)         And defined@GestureState private var scale: CGFloat = 1.0` in the definition of my view. None of this seems to work. :(
Mar ’22