• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is UITableView more memory efficient than UIScrollView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is UITableView more memory efficient than UIScrollView?


  • Subject: Re: Is UITableView more memory efficient than UIScrollView?
  • From: James Cicenia <email@hidden>
  • Date: Mon, 9 Mar 2009 20:09:02 -0500

I have a listing of approximately 100 lines. Within each line I create a visual calendar that has up 24 images. These images are tiny.
However, I have proved to myself that it is a memory issue and calling didRecieveMemory warning. This view has two tabs on top which allows you to switch between views. They are just a category for each with the same visual setup. When I switch the view, it displays, and then poof the app quits.


I just can't seem to figure out what to do in that memory that will alleviate this problem.
I have tried this:


[veggieImageView release], veggieImageView = nil;
		[veggieTypeView release], veggieTypeView = nil;
		[veggieScrollView release], veggieScrollView = nil;

but it just clears the view and then the same poof the app quits.

I have aggressively tested everything else on this app and I am down to this one unstable area.
Thank you,
James Cicenia



On Mar 9, 2009, at 6:43 PM, Mike Abdullah wrote:

Well it rather depends what you ask UIScrollView to do for you…

The most important thing is to recycle or dispose of views that are no longer visible to the user. Care to explain more what your code is actually doing?

Mike.

On 9 Mar 2009, at 22:27, James Cicenia wrote:

I am trying to get my one screen to work and I feel I am having a memory issue that just causes my application to reboot.

Even though UITableView subclasses UIScrollView I was wondering if it pages memory or such and would be better for my app.

Thanks
James Cicenia

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Is UITableView more memory efficient than UIScrollView? (From: James Cicenia <email@hidden>)
 >Re: Is UITableView more memory efficient than UIScrollView? (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: MVC, storing VIEW-specific information and core data
  • Next by Date: Re: Archiving/unarchiving root objects using instance methods
  • Previous by thread: Re: Is UITableView more memory efficient than UIScrollView?
  • Next by thread: Re: User In-Activity hook? And a request
  • Index(es):
    • Date
    • Thread