• 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
Mouse clicks from NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mouse clicks from NSOutlineView


  • Subject: Mouse clicks from NSOutlineView
  • From: Jonathan Robson <email@hidden>
  • Date: Sat, 6 Jan 2007 09:31:17 -0600

Hi There,

Firstly pardon my ignorance - I am new to Cocoa development and Objective-C development (started last night), my background is J2EE and C#.

In the interface builder I have a dialog with a NSOutlineView control on it. I have successfully got to the stage of the NSOutlineView listing bonjour services running on my network, but what I cannot figure out is how to capture the mouse click event when someone clicks on a row. I have read mailing list entries which suggest subclassing the NSOutlineView, but I cannot seem to figure out how you do this in the interface builder.

So far I have created a subclass form NSOutlineView in interface builder, this gives me a new class in the classes tab, but I have no idea how I get that onto my dialog window to use.

Any help is much appreciated, I am sure this is a newbie question which the osx gods will scoff at, but its causing me a major headache :-).

Thanks in advance for any replies.

Cheers,
Jonathan_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Mouse clicks from NSOutlineView
      • From: James Bucanek <email@hidden>
    • Mouse clicks from NSOutlineView
      • From: Jonathan Robson <email@hidden>
  • Prev by Date: SOLVED: using long double math functions like sinl() with Cocoa
  • Next by Date: Mouse clicks from NSOutlineView
  • Previous by thread: Re: NSCell with various fonts
  • Next by thread: Mouse clicks from NSOutlineView
  • Index(es):
    • Date
    • Thread