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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 01-11-2010, 08:49 PM   #4 (permalink)
BrianSlick
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,129
Default

You'd have the same amount of data either way, right? The memory for the containers themselves would be relatively small.

I guess it depends on how you define "easier". I personally keep a master list of data, and then have a sorting routine that breaks it down into smaller parts. My table view methods only care about the smaller parts; they don't care how the data was sorted.

Here is something that should help:
Clinging To Ideas: Taming Table Views

After I wrote that, I learned that CoreData has a NSFetchedResultsSectionInfo class which is basically the same thing, so I think I'm on the right track.

And you only "need" 2 arrays: master and sorted.
__________________
BriTer Ideas LLC - Code review, consulting, development. PM for pricing.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
BrianSlick is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,853
Threads: 89,223
Posts: 380,677
Top Poster: BrianSlick (7,129)
Welcome to our newest member, iphonejail01break
Powered by vBadvanced CMPS v3.1.0

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