Re: sortedArrayUsingFunction:context: why context is of type void?
Re: sortedArrayUsingFunction:context: why context is of type void?
- Subject: Re: sortedArrayUsingFunction:context: why context is of type void?
- From: Sherm Pendley <email@hidden>
- Date: Sun, 20 Jun 2004 16:31:31 -0400
On Jun 20, 2004, at 4:20 PM, Sherm Pendley wrote:
Use a typecast:
[someObject doSomething: (NSString*)context];
You can also, of course, typecast the recipient of a message:
[(NSString*)context someStringMethod];
sherm--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.