Whoah, back up. It sounds like you've dived in over your depth. No, you don't have to use an array controller; you are free to modify the context as you wish. Using one of Cocoa's built-in controllers might well prove better for your task, it's hard to say.
Fetch requests are what they say on the tin; they fetch objects. They do not insert them. I strongly advise you get yourself a decent book on Core Data and learn from that. On 10 Apr 2012, at 23:18, Michael Parchet wrote: > Hello, > > I have started a billing project with coco and core data. In my project, I > have a form that the user must fill to add a customer (for example) but it > seems that core data have only an array controller with a manage object > context to manage the core data database. Is it true ? > > In some language (such as java), I can send some sql query to the database. > such as (insert into Customeer etc..), I can also send a set of query > (transaction). > > On the apple website, in a guide, I have reed an information about fetch > request How it work ? Can the fetch request help me in my project ? > > Tanks for your help ? > > Best regards > > mparchet > > _______________________________________________ > > Cocoa-dev mailing list ([email protected]) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net > > This email sent to [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
