PDA

View Full Version : Cocoa Objc Programming help




zorg
May 5, 2006, 07:59 PM
Would there be any good tutortials on...

-making universal binaries
-using core data
-using bindings
-using OpenGL

Thanks in advance.



zorg
May 5, 2006, 08:14 PM
Anyone????

HungrySeacow
May 5, 2006, 08:49 PM
Well, you will be in for a whole lot of reading, but the BEST place for that information, is the documentation.. There are PDFs in there on all of those topics, usually about 150 pages each. Cocoadevcentral.com is also a great resource.

HiRez
May 5, 2006, 09:06 PM
Here are a few to get you started...

Cocoa Dev Central (http://cocoadevcentral.com/) (Bindings plus CoreData tutorials)
Cocoa Bindings Examples and Hints (http://homepage.mac.com/mmalc/CocoaExamples/controllers.html)
Cocoa Lab Bindings Tutorial (http://www.cocoalab.com/developer/examples/minimal_bindings.htm)
Feedface Bindings Tutorials (http://www.feedface.com/howto/KValueAScript.html)

Also you can get lots of information from the Apple developer pages (and from the Documentation window within Xcode), including Apple's bindings tutorials. And honestly, just do some Google searches, you will come up with a lot easily. OpenGL is cross platform, there is a ton of info on the web for it, though I would really suggest buying a book if you really intend to use it.

As far as Universal Binaries goes, the basics are pretty easy, you just open your project settings and check both i386 and PPC boxes for the Architecture setting, it will make a Universal Binary. The only issue I had was that I also had to set "Cross Develop Using Target SDK" to "MacOS 10.4 (Universal)" before it would work. Until I did that, it generated a bunch of errors. There might be a lot of finer points if you're porting stuff that depends on Altivec extensions, or if you need backwards compatibility or somthing, but otherwise just setting it up to recompile as Universal is trivial.

zorg
May 5, 2006, 09:10 PM
Thanks for all the help!

gekko513
May 5, 2006, 10:20 PM
Yes, I also recommend a book for OpenGL, specifically the official "red book" (http://www.amazon.co.uk/exec/obidos/ASIN/0321335732/qid=1146885582/sr=8-1/ref=sr_8_xs_ap_i1_xgl/202-6831244-1751021). It goes through and explains all(most) OpenGL features using examples. The "blue book" is a reference type book. I don't have that.

zorg
May 6, 2006, 01:08 PM
Yes, I also recommend a book for OpenGL, specifically the official "red book" (http://www.amazon.co.uk/exec/obidos/ASIN/0321335732/qid=1146885582/sr=8-1/ref=sr_8_xs_ap_i1_xgl/202-6831244-1751021). It goes through and explains all(most) OpenGL features using examples. The "blue book" is a reference type book. I don't have that.
Ok, I will try those too. Thanks.

kainjow
May 19, 2006, 07:56 AM
Check out cocoadev.com too