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 > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 03-04-2011, 02:05 PM   #1 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 14
quarto_stato is on a distinguished road
Default How many rows in UITableView...

...without overflowing the memory of an iphone?

I'm coding an app where an UITableView can be filled with 2,000 and more rows of text (each row is a single cell with max 2 lines of text), but I don't have an iphone to test the app.

I'd prefer to avoid a paginator, but it would be mandatory if the app crashes.

thanks
quarto_stato is offline   Reply With Quote
Old 03-04-2011, 02:28 PM   #2 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

1. Table views don't really care how many items.

2. 2000 items shouldn't be a problem. Use CoreData if necessary.

3. Get some testing hardware.
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

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

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 03-04-2011, 02:51 PM   #3 (permalink)
Registered Member
 
Join Date: Oct 2010
Posts: 41
cvcs1 is on a distinguished road
Default

Quote:
Originally Posted by BrianSlick View Post
1. Table views don't really care how many items.

2. 2000 items shouldn't be a problem. Use CoreData if necessary.

3. Get some testing hardware.
1. True

2. Absolutely true, plus its just text.

3. Even if its just an iPod, its necessary.
cvcs1 is offline   Reply With Quote
Old 03-04-2011, 04:42 PM   #4 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 14
quarto_stato is on a distinguished road
Default

thank you both, yes I need some testing hw

(CoreData? Never heard about.. it seems a huge "chapter" about cocoa programming...)
quarto_stato is offline   Reply With Quote
Old 03-04-2011, 05:14 PM   #5 (permalink)
Use [code] tags please
 
Join Date: Jun 2009
Location: Jacksonville, FL
Posts: 410
timle8n1 is on a distinguished road
Default

A. UITableViews are designed to reuse cells such that a table only has a few more rows than it can show on a screen in memory (if used correctly). So the table isn't a issue. Your data sounds like far less than 1 megabyte.

B. Get some test hardware
timle8n1 is offline   Reply With Quote
Reply

Bookmarks

Tags
memory, table, uitableview

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 368
16 members and 352 guests
Absentia, akphyo, apatsufas, BinHex, dre, Error404, Gaz, gmarro, jeroenkeij, Kirkout, MarkC, mottdog, Music Man, PavelMik, whitey99, Wikiboo
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,666
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, cpsclicker
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:20 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0