Re: UITableViewCell Display Issue
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