Re: Just starting off in obj C
Re: Just starting off in obj C
- Subject: Re: Just starting off in obj C
- From: Alexander von Below <email@hidden>
- Date: Sat, 25 Oct 2008 00:07:56 +0200
Please, for your next question don't make us guess what is not
working. Is the code not compiling? Is it not returning the expected
output? Is it crashing, etc?
Am 25.10.2008 um 00:03 schrieb Michael:
NSLog(@"This is %@", mytest);
You are passing the address of a method, rather than calling the
method and passing its output
The correct statement would be:
NSLog(@"This is %@", mytest());
Besides, it is always a good idea to put an NSAutoreleasePool in place
Alex
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden