FROM : Corbin Dunn
DATE : Tue Mar 04 17:15:50 2008
On Mar 4, 2008, at 8:09 AM, Andy Lee wrote:
> Try changing the -isEqual: calls to == instead, e.g.:
>
> if ([notification object] == tableView1)
>
> I suspect -isEqual: is always returning YES.
No, this is not the problem. Using == is okay (and faster), since
NSView's are always unique.
-corbin
DATE : Tue Mar 04 17:15:50 2008
On Mar 4, 2008, at 8:09 AM, Andy Lee wrote:
> Try changing the -isEqual: calls to == instead, e.g.:
>
> if ([notification object] == tableView1)
>
> I suspect -isEqual: is always returning YES.
No, this is not the problem. Using == is okay (and faster), since
NSView's are always unique.
-corbin
| Related mails | Author | Date |
|---|---|---|
| Nick Rogers | Mar 4, 15:35 | |
| Stéphane | Mar 4, 15:49 | |
| Andy Lee | Mar 4, 17:09 | |
| Corbin Dunn | Mar 4, 17:14 | |
| Corbin Dunn | Mar 4, 17:15 | |
| Stephane Sudre | Mar 4, 17:28 | |
| Corbin Dunn | Mar 4, 18:10 |






Cocoa mail archive

