iPhone SDK and OpenGL ES - First attempts
January 8th, 2009
I dared him to jump into cold water * shiver * After a first look at Objective-C had caused me a bad feeling in my stomach, I was on the verge of proceeding with the flight.
1 2 3 4 5 6 7 8 9 | aDictionary = [ [ NSMutableDictionary alloc ] init ] ; [ aDictionary setObject : @ "Ei" forKey : @ "egg" ] ; [ aDictionary setObject : @ "Auto" forKey : @ "car" ] ; [ aDictionary setObject : @ "Hallo Welt!" forKey : @ "Hello, world!" ] ; NSLog ( [ aDictionary objectForKey : @ "Hello, world!" ] ) ; [ aDictionary release ] ; NSMutableDictionary * aDictionary = [[ NSMutableDictionary alloc] init], [aDictionary setObject: @ "egg" forKey: @ "egg"], [aDictionary setObject: @ "Auto" forKey: @ "car"], [aDictionary setObject: @ " Hello world! "forKey: @" Hello, world! "]; NSLog ([aDictionary objectForKey: @" Hello, world! "]); [aDictionary release]; |
Seemed too strange to the syntax. Was not there a "C" in the name of this programming language?
But first impressions can be deceptive. A little tutorial, roll two textures from Wolf 3D, and about three days later, the story then looked quite different:
I'm thrilled! And soo many brackets I have no time to use gaze * lach * times, maybe I tinker towards what Eye of the Beholder & Co ...
Here are some links to helpful pages:
- Objective C Wikipedia Article
- Objective-C Beginner's Guide
- Gravity Tutorial Part 1 , Part 2 , Part 3 , Part 4 , Part 5
- iPhone App Devs Blog with useful tutorials
Related posts:
Entry Filed under: Programming , iPod / iPhone

1 Comment
First spider | September 5th, 2009 at 08:51
Thank you! Message from the zts