Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NSData Attribute Sync Crash #17

Closed
fila95 opened this issue Aug 26, 2015 · 3 comments
Closed

NSData Attribute Sync Crash #17

fila95 opened this issue Aug 26, 2015 · 3 comments
Labels

Comments

@fila95
Copy link

fila95 commented Aug 26, 2015

I've got my nsmanagedobject subclass which has also an nsdata attribute to store an image. That's not always needed and so when i set it to nil Seam Crashes.
Look at the screenshot below..
Hope in a fix..
Best regards
schermata 2015-08-26 alle 12 01 55

@nofelmahmood
Copy link
Owner

Check now :)

@fila95
Copy link
Author

fila95 commented Aug 26, 2015

ok thanks ;)

@nofelmahmood
Copy link
Owner

Tip when using NSData in Seam
You should store pictures as a CKAsset. For a CKRecord there is a size limitation. For a CKAsset there is not (beside the CloudKit storage limitations). According to the documentation:

Use assets for discrete data files. When you want to associate images or other discrete files with a record, use a CKAsset object to do so. The total size of a record’s data is limited to 1 MB though assets do not count against that limit.

Seam doesn't support CKAsset as for now. But this feature is in works. Follow this issue to find out when it gets done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants