• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: disable row highlighting NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: disable row highlighting NSTableView
      • From: Jens Miltner <email@hidden>
    • Re: disable row highlighting NSTableView
      • From: Graham Cox <email@hidden>
References: 
 >disable row highlighting NSTableView (From: Jo Phils <email@hidden>)
 >Re: disable row highlighting NSTableView (From: Jens Miltner <email@hidden>)
 >Re: disable row highlighting NSTableView (From: Jo Phils <email@hidden>)
 >Re: disable row highlighting NSTableView (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: How to download images for a contact in Cocoa?
  • Next by Date: Re: disable row highlighting NSTableView
  • Previous by thread: Re: disable row highlighting NSTableView
  • Next by thread: Re: disable row highlighting NSTableView
  • Index(es):
    • Date
    • Thread