FROM : Kevin Dixon
DATE : Sat Mar 22 10:44:18 2008
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_removed>> 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
>
DATE : Sat Mar 22 10:44:18 2008
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_removed>> 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
>
| Related mails | Author | Date |
|---|---|---|
| Kevin Dixon | Mar 19, 20:32 | |
| Ken Ferry | Mar 19, 22:11 | |
| Kevin Dixon | Mar 20, 14:31 | |
| Rob Napier | Mar 21, 16:50 | |
| Kevin Dixon | Mar 21, 19:46 | |
| Kyle Sluder | Mar 22, 01:32 | |
| Kevin Dixon | Mar 22, 10:44 |






Cocoa mail archive

