objective c 2.0 - Returning an Array Of ImageViews (IPhone)? -


i understand that:

  • (nsarray *)methodname return array.

  • (uiimageview *)methodname return imageview.

but how if wanted return array of imageviews?

if you're worried not being clear fact array has uiimageviews, can specify on name of method, like:

-(nsarray *)imageviewsforsomething:(id)something; 

otherwise, there's no reason you'd need return explicitly array of uiimageviews, nsarray trick.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -