1
Je suis mon application Je veux passer un UIImageView à NSDictionary.Stocker imageView dans NSDictionary iphone sdk
Je suis mon application Je veux passer un UIImageView à NSDictionary.Stocker imageView dans NSDictionary iphone sdk
Ce:
NSDictionary *aDict=[NSDictionary dictionaryWithObject:anImageInstance forKey:@"imageKey"];
... travaillera. Les dictionnaires sont conçus précisément pour contenir des objets. Ils vont tenir n'importe quel objet sans aucun problème.
Merci TechZen ... Ça a aidé! – neha
Pourquoi? Pas beaucoup d'informations ici. –
Je veux fondamentalement savoir quand il devrait être passé comme une chaîne ou un pointeur sur imageView. – neha