Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 08-27-2009, 03:12 PM   #15 (permalink)
Dutch
Humbled Student
 
Dutch's Avatar
 
Join Date: Apr 2009
Location: Long Island, NY
Age: 32
Posts: 883
Dutch will become famous soon enough
Send a message via AIM to Dutch
Default

Quote:
Originally Posted by nobre84 View Post
If he has a subview filled only with buttons wouldn't the performance be the same of the array without the need to create it?
But in fact I didn't stop to think about the inner working of viewWithTag and the very bad scenarios that could happen
Actually, using an array you can access the objects directly giving its array index to [array objectAtIndex:...].... This eliminates the need to FOR loop through them all. Again, if we're talking about 5, 10, 25 objects either is fine - but for larger numbers I would use the array.
Dutch is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,176
Threads: 93,918
Posts: 402,137
Top Poster: BrianSlick (7,966)
Welcome to our newest member, spiketmr
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:01 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.