Thursday, March 20, 2008

C tutorial

I'm working on the C tutorial on cocoadevcentral.com.  Its pretty helpful to explain the basics of C.  I already know most of it but he doesn't hurt to really make sure I understand it all clearly.  It's also useful to go through the little programs it has and make them to see how they run.  I can also play around with them and see what changes when I edit the files.  Right now I'm learning about structs, which are like variable types that you create and can define what the variables in them will be.  They seem kind of like a combination of a function and an array, but they are something new and not in PHP.  After I'm done with this tutorial I'll go through the second Cocoa tutorial on the site because these seem pretty helpful.

Monday, March 17, 2008

New Tutorial

Okay so that program wasn't really working, for  reason I don't know.  I decided to go to a different tutorial that was made using XCode 3 that I could follow.  This way I can keep learning about Objective-C and XCode and eventually I'll be able to see what is wrong with the Converter program and be able to fix it.
I started with the tutorial at cocoadevcentral.com and made it through that easily and am now following the other tutorials on C and more advanced Objective-C programming.  These are much easier to follow because they are using the same program as me.

Friday, March 14, 2008

Still not working

I'm still trying to get this Converter program to work.  I've gone all of the way through the tutorial, but when I finished it, there were several discrepancies between the actual program and the tutorial.  So, even following it exactly, the program came up with several errors.  I managed to correct the errors with the limited knowledge I have.  If errors come up in the build process then XCode won't build the program and it can't be run.  So, first I had to get no errors and then the program would build and I could actually try it.  Unfortunately, when I did run it nothing actually happened.  I'm trying to figure out why, because I really have no idea.  It says that the action convert: that I have is not connecting to its target and I'm pretty sure that it is just related to how some of the objects are labeled.  I'm just not sure exactly which labels to change and how to change them, but I'm just trying things out.  It is nice to be able to see the effect of all of the changes I make so even though the program isn't working I can see what everything does when I change it.