Re: disable row highlighting NSTableView
Re: disable row highlighting NSTableView
- Subject: Re: disable row highlighting NSTableView
- From: Jo Phils <email@hidden>
- Date: Thu, 2 Apr 2009 06:10:58 -0700 (PDT)
Hello again,
I have looked into this a bit more and it seems I still do something wrong? I make a new class file and set it to be a subclass of NSTableView and insert the following method:
> If you're building for Leopard only, subclass NSTableView so that this method is a no-op:
>
> - (void)highlightSelectionInClipRect:(NSRect)clipRect {
> }
But how exactly do I make this method a no-op? Please forgive my ignorance... :-)
rick
________________________________
From: I. Savant <email@hidden>
To: Jo Phils <email@hidden>
Cc: Jens Miltner <email@hidden>; Cocoa List <email@hidden>
Sent: Thursday, April 2, 2009 12:02:29 AM
Subject: Re: disable row highlighting NSTableView
On Wed, Apr 1, 2009 at 11:54 AM, Jo Phils <email@hidden> wrote:
> Thank you for your reply and my apologies for asking what had been answered a few days ago. :-) It does lead me to another question though...I'm still a beginner and I have never overridden a method via subclassing before. Is there a tutorial you might be able to point me to that could show me how to do this?
Have you tried reading the documentation?
The Objective-C 2.0 Programming Language
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Introduction/introObjectiveC.html
Specifically:
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/ocObjectsClasses.html#//apple_ref/doc/uid/TP30001163-CH11-TPXREF111
--
I.S.
_______________________________________________
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