• 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: UITableViewCell Display Issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UITableViewCell Display Issue


  • Subject: Re: UITableViewCell Display Issue
  • From: Matt Neuburg <email@hidden>
  • Date: Sat, 09 Oct 2010 11:28:01 -0700
  • Thread-topic: UITableViewCell Display Issue

On Fri, 8 Oct 2010 16:39:05 -0600, Jason Barker <email@hidden>
said:
>In my table view, when a user touches a row, I want to change the alpha
>value of a subview within the row's content view via animation as well as
>insert some rows below that one or remove some rows from below that one.
>I'm
>able to animate the insertion and deletion of the rows from under the
>touched row. But I can't seem to animate the alpha value for a subview.
>The
>crazy part about it all is even though the subview doesn't appear when I
>touch the row, if I slide the row out of view and back in view again, it
>looks the right way. Can anyone tell me what I'm doing wrong?

The problem could be that the default UITableViewCell implementation of
setSelected:animated: messes with opacity. You might need to provide a
custom cell subclass, override setSelected:animated:, and do the work
there after calling super. m.

--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthings


_______________________________________________

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: [iOS] NSUserDefaults-backed Properties
  • Next by Date: Re: confused about floats
  • Previous by thread: UITableViewCell Display Issue
  • Next by thread: Freeing the property list returned by class_copyPropertyList()?
  • Index(es):
    • Date
    • Thread