• 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: Need to use Quartz... I think?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need to use Quartz... I think?


  • Subject: Re: Need to use Quartz... I think?
  • From: James Cicenia <email@hidden>
  • Date: Sat, 7 Mar 2009 12:22:43 -0600

I am creating a visual indicator.
There can be approximately up to 400 rows.
Each row can have up to 24 little images.

While in my instruments it never seems to get above 7MB on my device
when a person selects enough parameters to actually display the rows
it will eventually show up... say after about 8 secs. Then my app becomes
unstable. Otherwise, if the parameter set is such that only about 40 rows
show up, it works great non-stop throughout the app.


I do want them to be able to scroll this list.

Thank you for your time
James



On Mar 7, 2009, at 12:14 PM, David Duncan wrote:

On Mar 7, 2009, at 10:00 AM, James Cicenia wrote:

I am painting my iPhone scrollable view which is nested in a parent view.
I had originally been looping through and creating about a 1000 UIImageViews.
This worked fine and dandy on the simulator but in real life, I think it is killing my little iPhone App.


So will just drawing the images with Quartz be that much better?

Well I figured I would try. But I am now confused on how I am supposed to make it work.

But my scrollable view is created programatically. So what do I do in that case?


Quartz Demo does a little work to avoid creating a new view class for each demonstration (which may or may not be all that advantageous in hindsight). Either way, it is probably not really what you want in this case.

What are you trying to do? If your trying to work with 1000 images, you almost certainly will not be able to work with them all in memory at once (and unless they are really tiny they won't all fit on screen at once, so having them all in memory at once is certainly a disadvantage).
--
David Duncan
Apple DTS Animation and Printing



_______________________________________________

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


  • Follow-Ups:
    • Re: Need to use Quartz... I think?
      • From: David Duncan <email@hidden>
References: 
 >Need to use Quartz... I think? (From: James Cicenia <email@hidden>)
 >Re: Need to use Quartz... I think? (From: David Duncan <email@hidden>)

  • Prev by Date: Re: Need to use Quartz... I think?
  • Next by Date: Re: Need to use Quartz... I think?
  • Previous by thread: Re: Need to use Quartz... I think?
  • Next by thread: Re: Need to use Quartz... I think?
  • Index(es):
    • Date
    • Thread