Post

Replies

Boosts

Views

Activity

Reply to CloudKit predicate
Solved with this: let predicateString = "Lat BETWEEN {" + String(currentPlaceLat - limit) + ", " + String(currentPlaceLat + limit) + "}" + " && " + "Long BETWEEN {" + String(currentPlaceLong - limit) + ", " + String(currentPlaceLong + limit) + "}"
May ’22
Reply to Constraints
OK I figured it out. Changed the layout to inferred and now it works.
Replies
Boosts
Views
Activity
May ’22
Reply to Map over UITableViewController
It does not allow me to add constraints (it is greyed out) because the map is now "part" of the UITableViewController
Topic: Design SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to CloudKit predicate
Solved with this: let predicateString = "Lat BETWEEN {" + String(currentPlaceLat - limit) + ", " + String(currentPlaceLat + limit) + "}" + " && " + "Long BETWEEN {" + String(currentPlaceLong - limit) + ", " + String(currentPlaceLong + limit) + "}"
Replies
Boosts
Views
Activity
May ’22
Reply to CloudKit predicate
Yes, I know, but I’m avoiding them because I need more precision and I understand these have a 10km precision. Thanks. I want to implement in the way I described.
Replies
Boosts
Views
Activity
May ’22
Reply to CloudKit BAD_REQUEST
Oversight... Record type was int when it should have been string. Solved!
Replies
Boosts
Views
Activity
Apr ’22
Reply to CloudKit - CKRecord returning nil
Problem was the injection of the dependency. Moving the code from the separate .Swift file to the main ViewController solved it.
Replies
Boosts
Views
Activity
Apr ’22
Reply to Help with CloudKit
OK, I created a new container and now it connected. Seems like it was, after all, a problem on Apple's side?
Replies
Boosts
Views
Activity
Apr ’22