Posts

Post not yet marked as solved
5 Replies
1.3k Views
In "Build an Action Classifier with Create ML" a fitness trainer sample project was shown that shows how to go about using action classification with the new Vision API to predict what exercises are performed. I'd love to play around with the project to learn more about how to implement those or similar features. Is the sample project available for download somewhere? I'm only finding the "Building a Feature-Rich App for Sports Analysis" sample project for the Vision API. Thanks a lot!
Posted
by Jupp.
Last updated
.
Post not yet marked as solved
11 Replies
13k Views
On iOS 13 for transformable attributes that have no custom Transformer class set this appears in the console:"One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable."This message appears on devices, in the simulator on High Sierra it even leads to a crash.However, setting the transformer class to NSSecureUnarchiveFromDataTransformer when using CoreData CloudKit, this crashes and leads to Core Data not being initialized.Disabling CloudKit, e.g. setting the .cloudKitContainerOptions on the store description to nil fixes this crash.It seems CoreData CloudKit does not support NSSecureCoding transformers yet, right?If that's the case, I don't know why this appears in the console. Is this just a bug?To experience this for yourself, make an Xcode project with Core Data CloudKit and a transformable attribute, e.g. type [String: Int] in the model. Then set NSSecureUnarchiveFromData as the transformer for this attribute and try to start the app using this Core Data model with CloudKit enabled, meaning the Core Data Stack uses NSPersistentCloudKitContainer. In this case the Core Data model won't initialize.I'm not that familiar with the different transformer classes, maybe I'm just doing something wrong? Without CloudKIt enabled it seems to work though!
Posted
by Jupp.
Last updated
.
Post not yet marked as solved
4 Replies
3.0k Views
Thanks a lot for the iOS 13 Game Center refresh!Unfortunately I found that Game Center has since not been usable pre iOS 13 anymore.To reproduce the issue please try the following:- New Xcode project- Set target to pre iOS 13, e.g. iOS 12, in my case the target is iOS 11- Import GameKit and call GKLocalPlayer.local somewhere in code, for example by assigning it to a let constant- Run this code on an iOS 12 device (I haven’t tried if it occurs in simulator)- CRASHThis is a critical issue for every app that uses GKLocalPlayer with the new tool chain and Xcode 11, but still provides support for pre iOS 13.I have already submitted FB6152841 but wanted to still let you know this way too, because this should be something that all apps that do something with Game Center should encounter.Groovy greetings!
Posted
by Jupp.
Last updated
.