I have a TableView. In order to update the state of the buttons that
operate on the items in the list, I call my function
"updateActionEnabledState" when my controller receives the tableView
message (which is triggered by calling [uiAudioFileTableView reloadData]
when the data source is altered).

Is there anything wrong with this approach, or should I call the
updateActionEnabledState along with calling reloadData?

-Kevin

> On Fri, Mar 21, 2008 at 2:46 PM, Kevin Dixon <[EMAIL PROTECTED]> wrote:
>>  I needed to call [uiButton displayIfNeeded] instead of setNeedsDisplay
>
> Where are you doing this?  Essentially what you have done is
> short-circuited the coalesced update of dirty rectangles for drawing,
> which leads me to believe that you're doing something in an inner loop
> or a special run loop mode which you perhaps shouldn't be doing.
>
> --Kyle Sluder
>

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to