I want to do performSelector:withObject: but where the object is a CGFloat. So it's not actually an object. How can I do this?
the object I am performing the selector on is not mine, I can't modify it.
eg
[xyz performSelector:@selector(setOffset:) withObject:2];
(after posting I changed what I need to slightly to this:
[xyz performSelector:@selector(setOffset:) withObject:CGSizeMake(2,0)];