Coder Social home page Coder Social logo

nimble's People

Contributors

ashfurrow avatar marcosero avatar shmidt avatar shsteven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nimble's Issues

iOS 8.o Deprecation Warnings

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?

Delete Object

How can i delete an Object from iCloud and NimbleStore?
With MagicalRecord(used before) there was an option mr_DeleteEntitiy.

Regards

nb_saveToPersistentStoreAndWait

Does your library have analogue of MR's MR_saveToPersistentStoreAndWait for NSManagedObjectContext?
I want to use single managedObjectContext, how can I save it?

Demo app fails if mogenerator isn't in path

/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

Is it any inContext method?

[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?

I am getting "No managed object model found" exception.

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;
  }
  1. I think the error description is wrong as I already have a model at this point.
  2. I can see that I have a persistentStore too so I think that somehow I am getting an other error from the 'addPersistentStoreWithType' method.
  3. this is the error that I get :
(NSError **) error = 0xbfffcbe4 error: summary string parsing error

Can any one point me to th problem ?
Thanks
Shani

iCloud Sync Problems

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];

Nimble-CoreData

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.

Quick way to purge all records and start a new store

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.