Thursday, April 17, 2008

Strings

I finished the tutorial and since I now know some of the basics, I'm trying to do a little on my own.  It still isn't working all that well because I don't know much.  I have started to make some progress though.  It's a lot easier to learn by figuring stuff out on my own rather than just reading it.  Right now I'm trying to simply make a string of characters and have it displayed.  This sounds very simple, though I have found it isn't.  Hopefully I should be able to get that working soon.  The hard part is you can't just create a string, you have to initialize an NSString object and set it to something.  The nice thing is XCode has endless amounts of documentation on Objective-C and Cocoa so I can always find what I need.  The problem is I don't always know what I need, or I don't know exactly how to use what I find.  It is getting easier and easier as I fiddle around with things and see what works and what doesn't.  It's also useful that whenever something doesn't work so the program can't build and run, it tells me exactly what went wrong so I know how to fix it (sometimes).

No comments: