Re: initialize a store with default data core data

2010-01-21 Thread Gustavo Pizano
Hello, this is what Im doing now... I mistake before... is it ok if I do what Im doing here? if(url){ managedObjectContext = [[NSManagedObjectContext alloc] init]; [managedObjectContext setPersistentStoreCoordinator:persistentStoreCoordinator];

initialize a store with default data core data

2010-01-21 Thread Gustavo Pizano
Hello. I was reading the Apple docs, and in the FAQ it says that I must check for : f you are using a non-document-based application and started with the standard application template then after these lines of code: if ( ![fileManager fileExistsAtPath:applicationSupportFolder isDirectory:NULL]