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, otherwisemogeneratorprovides a+ (id)insertInManagedObjectContext:(NSManagedObjectContext *)context;method which you'd call like:To see any other methods
mogeneratorcreates you can take a look at the_MyModel.hfiles it generates.