Hi all,
I'm my application I want to pass an UIImageView to NSDictionary. Can anybody please help. It's urgent. Thanks in advance.
Hi all,
I'm my application I want to pass an UIImageView to NSDictionary. Can anybody please help. It's urgent. Thanks in advance.
This:
NSDictionary *aDict=[NSDictionary dictionaryWithObject:anImageInstance forKey:@"imageKey"];
... will work. Dictionaries are designed precisely to hold objects. They will hold any object without any fuss.