Im new using Mogenerator (it looks great!). I just can't figure out how is the equivalent sentence to: NSManagedObject *mo = [NSEntityDescription ...]
How should I create new objects in Mogen?
Thanks in advance.
Im new using Mogenerator (it looks great!). I just can't figure out how is the equivalent sentence to: NSManagedObject *mo = [NSEntityDescription ...]
How should I create new objects in Mogen?
Thanks in advance.
Copyright © 2021 Jogjafile Inc.
The usual
NSManagedObject *mo = [NSEntityDescription ...]
method will still work, otherwisemogenerator
provides a+ (id)insertInManagedObjectContext:(NSManagedObjectContext *)context;
method which you'd call like:To see any other methods
mogenerator
creates you can take a look at the_MyModel.h
files it generates.