Post

Replies

Boosts

Views

Activity

iOS 14 UISplitViewController Triple-Column Layout in Interface Builder, show only Two Columns in Landscape on iPhone?
Previously you could set the width of the preferredSupplementaryColumnWidth to automaticSupplementaryFillDimension, but this API seems to have been removed. hideColumn: method seems to have no effect. Any one manage to show only Two Columns in Landscape on iPhone using UISplitViewController with a triple-column IB setup? Triple column layout is utilized on the iPad/Mac, but want two columns, max, on iPhone in landscape.
0
0
685
Sep ’20
Is it possible to rename Entities after using NSPersistentCloudKitContainer in Core Data?
I've tried using renaming Identifier: 1) Automatic / Lightweight migration seems to fail, because "CloudKit integration forbids renaming entities. older devices cannot process these records" 2) Tried using just NSPersistentContainer, and the lightweight migration still fails with the above message. NSPersistentCloudKitContainer seems to have marked/tainted the persistent store / SQLite so that renaming of entities is not possible at all. Does anyone know if it is possible to rename entities once you start using NSPersistentCloudKitContainer? (heavyweight migration or such?) Has anyone done this before, in a production app or otherwise?
1
0
1k
Sep ’20
[NSPersistentCloudKitContainer] CloudKit integration forbids renaming 'OldEntityName' to 'NewEntityName'. Older devices can't process the new records. How to proceed?
I used a renaming identifier to rename an Entity Name, but it doesn't seem to work and it causes a crash at start during in-place migration. How to rename an Entity Name when using NSPersistentCloudKitContainer? I get this exception at start: CloudKit integration forbids renaming 'OldEntityName' to 'NewEntityName'. Older devices can't process the new records. Unresolved error Error Domain=NSCocoaErrorDomain Code=134110 "An error occurred during persistent store migration." App is not in production, need a way to rename 'OldEntityName' to 'NewEntityName'. How to achieve this?
1
1
888
Sep ’20