Core Data Lab 1.1, Public Beta
The introduction of Core Data Lab has been received with great enthusiasm by the Apple developer community. Especially after Dave Verwer mentioned Core Data Lab in iOS Dev Weekly, which happens to be one of the most popular newsletters for Apple developers. During this short semi-viral period we received feedback with some interesting ideas, fatal crash scenarios, several ‘glitches’, and more. This all resulted in development of version 1.1, which is a mix of some new ‘must-have’ features, some fixes to cover some exotic Core Data ‘use cases’, and new features that wouldn’t exist without the said feedback.
Core Data Lab 1.1 is the first app update from Betamagic that will be preceded by a public beta. Core Data is being used in so many different ways by developers, that it’s hard to be sure that all new features will work as expected in all scenarios by just using some internal test scripts.
The following features are new in Core Data Lab 1.1:
- Object creation functions: the Data menu has been extended with a ’New Object’ menu item to add new objects for the selected entity, and a ’New Related Object’ menu item to add new objects for the selected Core Data relationship.
- Core Data Model Cache option: the Core Data Object Model that’s cached in the database can now be used as object model in a Core Data Lab project. This is especially useful for developers that generates their object models during runtime (yes, they do really exist!) or when you want to investigate a database without having access to the corresponding compiled object model. Disclaimer: if you have a model file, it’s still better to use that in your project. The existence and actuality of a model cache in the database is not guaranteed. Also the implementation can change at any moment. This feature is supported on macOS 10.15 or newer.
- Multi-select option: you can now enable multi-select for table views in the app’s Preferences. This is useful when you want to delete of export sub-selections.
- Panel layout persistence: visibility and sizes of all panels of the document window are now saved in the project document file and restored when opening a project. This feature is supported on macOS 10.15 or newer.
- New columns in Simulator browser: by using the context menu on the column headers in the Simulator browser, you can now add Display name and Bundle identifier to the default column set. These adjustments are stored as app preferences.
- Database extensions setting: database extensions used for selecting and finding database are now adjustable in the Preferences. Can also be set to no extension at all, which is by the way not a very efficient choice when searching for a database on a large hard-disk.
The following improvements have been made in Core Data Lab 1.1:
- Added support for displaying and editing URI attribute type fields.
- Added support for displaying and regenerating the content of UUID attribute type fields.
- When searching for databases, it's now possible to search within packages by disabling a new setting Skip packages. This is default enabled, but if you need to search for databases within packages like certain NSDocument files, you can now do that.
- Added support for using iOS 13 or macOS 10.15 Core Data models and databases in macOS 10.14. A warning is being shown when the data model contains features that are not supported on the local macOS version, such as NSDerivedAttributeDescription. This will be prohibited to prevent uncatchable crashes.
- Added column Preserve in Entity Description inspector representing Core Data attribute setting preservesValueInHistoryOnDeletion.
- Added a menu item Show Model in Finder under menu Project to show the compiled Core Data Object Model file in the Finder.
- Added support for deleting objects displayed in the Relationships panel.
- Added basic detection for deleting source files while the project document is opened.
The following issues has been fixed in Core Data Lab 1.1:
- Binary fields with Allows External Storage enabled, are now only loaded and displayed when the database folder is accessible, to prevent uncatchable crashes. Otherwise a directory access dialog is being presented, to move the access token stored in the project to a higher directory level.
- Fixed display of iPhone 11 devices in the Simulator browser.
- Hidden panels are now no longer loaded while browsing data.
This beta of Core Data Lab is intended to test and evaluate the new software. It has a built-in expiration date, which can be overruled at any time by an earlier date, for example when a newer beta build becomes available for downloading, or when Core Data Lab 1.1 is officially released.
Please send your feedback to email@example.com. Thanks!
Build 39 - Update
Core Data Lab Beta 1.1 Build 39 adds the following new features and fixes:
Core Data Lab Beta 1.1  Build 39