hi everybody, im really trying to learn Objective-C and i am having a hard time.
This is my Bajilianth time trying to learn and i really dont want to give up this time because i think i can do it... anyway, this is what i am doing
i am Partialy using Stanfard U on itunes and also using CocoaDevCentral for more help. i am trying to do this: http://www.stanford.edu/class/cs193p/downloads/Assignment1B.pdf
FYI: i am not a stanford student i am just using there free lessons. i am not being graded or getting credit so i am not cheating on anything
Any help would be amazing, thanks guys
This is my Bajilianth time trying to learn and i really dont want to give up this time because i think i can do it... anyway, this is what i am doing
Code:
#import <Foundation/Foundation.h>
int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
NSMutableDictionary * PHBookmark = [[PHBookmark:NSString] retain];
[QUOTE]syntax error before NSString[/QUOTE]
PHBookmark = [NSMutableDictionary];
[QUOTE]syntax error before "]" String[/QUOTE]
NSString * PHStanU = @"Stanfard University";
PHStanU = [PHBookmark "http://StanfardUniversity"];
[QUOTE]syntax error before string constant[/QUOTE]
NSLog(@"Hello, World!");
[pool drain];
return 0;
}
i am Partialy using Stanfard U on itunes and also using CocoaDevCentral for more help. i am trying to do this: http://www.stanford.edu/class/cs193p/downloads/Assignment1B.pdf
FYI: i am not a stanford student i am just using there free lessons. i am not being graded or getting credit so i am not cheating on anything
Any help would be amazing, thanks guys