marcosero / nimble Goto Github PK
View Code? Open in Web Editor NEWCore Data and iCloud made nimble and fast
License: MIT License
Core Data and iCloud made nimble and fast
License: MIT License
Hi there,
I love this library. Great work.
It seems that 'lock" and "unlock" are deprecated in iOS 8. Any idea if this will be handled?
How can i delete an Object from iCloud and NimbleStore?
With MagicalRecord(used before) there was an option mr_DeleteEntitiy.
Regards
Thanks BTW for you great library
@MarcoSero
Hi!
The crash log.
*** Collection <__NSCFSet: 0x16d72970> was mutated while being enumerated.
Jack
Does your library have analogue of MR's MR_saveToPersistentStoreAndWait
for NSManagedObjectContext
?
I want to use single managedObjectContext, how can I save it?
/Users/aaron/Library/Developer/Xcode/DerivedData/NimbleDemo-cemghuquvogxdodfplplrvpyijyl/Build/Intermediates/NimbleDemo.build/Debug-iphonesimulator/NimbleDemo.build/Script-A9040B91178E124000CCE8EF.sh: line 2: mogenerator: command not found
[NimbleStore nb_saveInBackground:^(NBContextType contextType) {
Image *imageEnt = [Image nb_createInContextOfType:contextType];
imageEnt.person = _person;
imageEnt.image = image;
imageEnt.thumb = [image imageCroppedToFitSize:thumbSize];
[_images addObject:imageEnt];
}];
I have a crash due to _person
is from main context. How to fix it?
The sample project should use the pod spec.
Hi,
Just migrated my app from Magical Record (Wanted to use your iCloud capabilities).
I am using
NSError *error;
[NimbleStore nb_setupCloudStore:&error];
And get this exception
if (error || !persistentStore) {
NSString *errorMessage = @"No managed object model found.";
NBLog(errorMessage, nil);
if (error != NULL) {
*error = [NSError errorWithDomain:NBNimbleErrorDomain code:NBNimbleErrorCode userInfo:@{@"error" : errorMessage}];
}
#ifdef DEBUG
@throw ([NSException exceptionWithName:NBPersistentStoreException reason:errorMessage userInfo:nil]);
#endif
return NO;
}
(NSError **) error = 0xbfffcbe4 error: summary string parsing error
Can any one point me to th problem ?
Thanks
Shani
If i try to save an Object like
[NimbleStore nb_saveInBackground:^(NBContextType contextType) {
Object *object = [Object nb_createInContextOfType:contextType];
[car setName:name];
} completion:^(NSError *error) {
NSLog(@"ERROR %@", error);
}];
The Error is nil.
Then i start the App on an other Device(Simulator with Signing in at iCloud) and try to find the savedObject i find nothing.
[Object nb_findAll]
always nil.
I used this Init Method
NSError *error;
[NimbleStore nb_setupCloudStore:&error];
I started a new project with Nimble and the only file to come down via cocoa pods was Nimble.h - the rest of the files/folders did not download.
Sometimes, it is necessary to get rid of all records in a Core Data store and start from scratch. For example, a user logs out (data cleared) and another user logs in (create new sqlite).
Purging data in existing data store will take multiple seconds for >1000 records
Is there a quick way to throw out the existing store and start a new one?
Pod contains only one source file โ Nimble.h
Whats the functional difference between them?
I dont understand this
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.