Tag Archives: Objective-C

Objective-C decisions vs Perl descisions

I’m comparing Objective-C decision making with our beloved Perl decision making. Objective-C supports the if, else, else if & switch. Lets write some Objective-C code and write the Perl in parallel. #import <Foundation/Foundation.h> int main (int argc, const char * … Continue reading

Posted in C, Perl | Tagged , , , , | Leave a comment

Objective-C loops

After finding another hour to read some more ‘Objective-C’ instruction, I’ve covered some looping techniques which are all again valid in Perl and ANSI C. My text covers the for, while and do loops, and heres the sample program… #import … Continue reading

Posted in C | Tagged , , , , | Leave a comment

Finally! Started on Objective C

I’ve finally got round trying some Objective C programming beyond outputting “hello world” with what is in effect ANSI C. I’m coming from a Perl background with a a smattering of other experience such as ANSI C, ASP and PHP … Continue reading

Posted in C | Tagged , , | Leave a comment