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 protected]>
To: Jo Phils <[email protected]>
Cc: Jens Miltner <[email protected]>; Cocoa List <[email protected]>
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 protected]> 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 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]