Mouse clicks from NSOutlineView
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