I want to perform performSelector: withObject: but where the object is CGFloat. So this is not an item. How can i do this?
the object that I am performing the selector on is not mine; I cannot change it.
eg,
[xyz performSelector:@selector(setOffset:) withObject:2]
(after posting, I changed what I need a little:
[xyz performSelector:@selector(setOffset:) withObject:CGSizeMake(2,0)]
source
share