View Full Version : Lame question about Cocoa and Coredata
Feb 26, 2007, 06:45 PM
I am building my very first simple "cocoa application", which should load and show a certain part of text (it depends what you decide to show in combo box) stored "somewhere". I was just wondering, whether using "coredata application" is the best way and I should rebuild like that or ...?
and... do i understand correctly, that "coredata application" is the same as "cocoa application" but even has the support of the database?
Feb 26, 2007, 07:02 PM
Core Data is an infrastructure, that is used with Cocoa, to help manage (change, save, retrieve, etc) data in a database... sounds like you want something simpler (to read a text file?). I recommend, in either case, starting w/o using core data, even though it is tempting. Learn the basics of Cocoa first.
Feb 27, 2007, 03:02 AM
Ok, and so I'll make the "core data" application, save all needed data, which will be used. But then, I dont want to edit, add a thing and I dont want even the created interface for saving new data, I want a whole new interface which would show all stored information and I dont understand how to do it.
Just a tips, could someone? :) thx
Feb 27, 2007, 08:29 AM
what kind of information do you need to display?
Feb 27, 2007, 11:19 AM
Core data is more like a database for storing stuff, you should follow the tutorial (http://developer.apple.com/cocoa/coredatatutorial/index.html) over on apple.com to get a feel for it, you should learn how to use Cocoa first with a book such as the Aaron Hillegass one (http://www.amazon.co.uk/Cocoa-Programming-OS-Aaron-Hillegass/dp/0321213149/sr=8-1/qid=1172596744/ref=pd_ka_1/026-3406680-8427607?ie=UTF8&s=books).
Feb 27, 2007, 11:43 AM
Core Data is not just a database! It is more of an Object management infrastructure.;) But yeah, those tutorials are pretty good.
Feb 27, 2007, 02:57 PM
thank you all for help, so I guess Im going to pass the tutorials :)