This may be a simple question for some. For me its a headache. How to send an integer as an id object in this method:
[self performSelectorOnMainThread:@selector(requestImageAtIndex:) withObject:index waitUntilDone:NO];
Index is the integer here.
Thank you all in advance.
P.S. “There are no dumb questions, there are only dumb answers.” Marshall Loeb
Why not wrap it in
NSNumberobject ?