Official Forum for Programming in Objective-C (the iPhone Programming Language) - Stephen Kochan
June 23, 2018, 11:45:15 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register Chat  
Pages: [1]   Go Down
Author Topic: 10-4 Simple way  (Read 2028 times)
Full Member
Posts: 145

« on: May 16, 2010, 01:51:40 AM »

Code: (Objective-C)
#import <Foundation/Foundation.h>
int main (int argc, char *argv[])
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    typedef enum {Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday} Day;
    Day today = Tuesday;

    [pool drain];
    return 0;
Pages: [1]   Go Up
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Entire forum contents ゥ 2009 All rights reserved.