re: Creating NSMappingModel programmatically

2010-03-29 Thread Ben Trumbull
> 'm trying to create an NSMappingModel manually between two models, but it's > not working in that no data gets migrated over (I checked with an SQLite > database browser) to the new store, the tables are just empty. > > The source model has one entity Person with two attributes: name and eyeCo

RE: Creating NSMappingModel programmatically

2010-03-26 Thread Ulai Beekam
Ok, that code really looks bad through email, so I'm going to give you a link to the code in much more pleasant format: http://pastie.org/888526 > > > I'm trying to create an NSMappingModel manually between two models, but it's > not working in that no data gets migrated over (I checked with

Creating NSMappingModel programmatically

2010-03-26 Thread Ulai Beekam
I'm trying to create an NSMappingModel manually between two models, but it's not working in that no data gets migrated over (I checked with an SQLite database browser) to the new store, the tables are just empty. The source model has one entity Person with two attributes: name and eyeColor. Th