• 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: David Duncan <email@hidden>
  • Date: Sat, 7 Mar 2009 10:28:21 -0800

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

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


I imagine those images are pretty small if you can fit 24 of them across the screen...

If the images are always displayed in the same order, then the simplest method might be something like this:
Create a single image with all of your little images side by side in the correct order
Create a UITableView
For each UITableViewCell, embed a single opaque UIImageView.
Assign the indicator UIImage as the content of that UIImageView
Size the UIImageView to expose the number of indicators you desire and set its contentMode to UIViewContentModeLeft.


If the indicators can appear in any order, you probably would still want to do this in a UITableView, but you probably have more work.
--
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: James Cicenia <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>)
 >Re: Need to use Quartz... I think? (From: James Cicenia <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