• 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
Custom Colors as UITableViewCell background colors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom Colors as UITableViewCell background colors


  • Subject: Custom Colors as UITableViewCell background colors
  • From: Jeff Kelley <email@hidden>
  • Date: Fri, 08 Jul 2011 14:06:58 -0400

Hello all,

We’re creating a custom UIColor pattern (using +[UIColor
colorWithPatternImage:]) and setting it as the background color of our table
view cell. This works great—and avoids several headaches with rounded
corners and grouped table views—except for one thing: when dragging a cell
from one row to another, there’s a momentary flash on the selected cell and
its neighbors. The flash appears to be whatever color is at the bottom-left
of the cell, so probably at point (0,0) in the graphics context. Is there a
method we can override to prevent this from occurring, or a better way to
set a custom background color/image for a cell and keep its rounded corners
in grouped style table views?

Jeff Kelley
_______________________________________________

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

  • Prev by Date: Re: NSMapTable on iOS?
  • Next by Date: Re: Core Data Predicate Question
  • Previous by thread: User Defaults Controller Binding
  • Next by thread: NSArrayController - how?
  • Index(es):
    • Date
    • Thread