Re: Managing Files with CoreData

2010-07-19 Thread Gordon Apple
On 7/19/10 8:27 AM, "Keary Suska" wrote: > On Jul 18, 2010, at 8:19 PM, Gordon Apple wrote: > My main entity has three references (one-to-one and one-to-many) to identical entities defined as class "File" (a managed object). File is not defined in the graphical model and is th

Re: Managing Files with CoreData

2010-07-19 Thread Keary Suska
On Jul 18, 2010, at 8:19 PM, Gordon Apple wrote: >>> My main entity has three references (one-to-one and one-to-many) to >>> identical entities defined as class "File" (a managed object). File is not >>> defined in the graphical model and is the only class (for the referenced >>> entities) define

Re: Managing Files with CoreData

2010-07-18 Thread mmalc Crawford
On Jul 18, 2010, at 1:20 pm, Gordon Apple wrote: > I have a series of questions about using CoreData (iPad). Although CoreData > is supposedly easy to use, I have found it anything but. > Per Keary's reply, the documentation makes it abundantly clear that it's not a beginner's tool. It comes w

Re: Managing Files with CoreData

2010-07-18 Thread Sean McBride
Gordon Apple (g...@ed4u.com) on 2010-07-18 16:20 said: >Question 2: In the File class, what should I override to delete the actual >associated file when a file object is deleted from the database? (I'm >currently doing that separately when deleting the managed object.) Does >NSManagedObject's "d

Re: Managing Files with CoreData

2010-07-18 Thread Gordon Apple
On 7/18/10 6:14 PM, "Keary Suska" wrote: > On Jul 18, 2010, at 2:20 PM, Gordon Apple wrote: > >> I have a series of questions about using CoreData (iPad). Although CoreData >> is supposedly easy to use, I have found it anything but. > > I don't know where you got that--even the Core Data do

Re: Managing Files with CoreData

2010-07-18 Thread Keary Suska
On Jul 18, 2010, at 2:20 PM, Gordon Apple wrote: > I have a series of questions about using CoreData (iPad). Although CoreData > is supposedly easy to use, I have found it anything but. I don't know where you got that--even the Core Data docs say it is an advanced API. I would say that once it

Managing Files with CoreData

2010-07-18 Thread Gordon Apple
I have a series of questions about using CoreData (iPad). Although CoreData is supposedly easy to use, I have found it anything but. It is extremely finicky and unforgiving. In fact, even with DTS support, I have never been able to get NSFetchedResultsController to work using a cache. I do have