Newb question: which feature am I looking for?
Newb question: which feature am I looking for?
- Subject: Newb question: which feature am I looking for?
- From: frenchyp <email@hidden>
- Date: Mon, 11 Feb 2008 21:25:00 -0800
Hello all.
I am attempting a simple project to learn more about Cocoa and
Objective-C programming.
My goal is to create a simple file-browser using an expandable
directory tree (NSOutlineView), and to allow the user to select/
highlight a file and to get it's full path displayed in a text box, so
the text can be copied and used to open the file in VI.
I got the directory tree part to work, thanks to the documentation.
Now I need to be able to detect that a file name has been highlighted
(filenames are kept in NSTextFieldCells), call a controller method,
and access the filename itself.
My problem is that I have no idea how to do that. I assumed that I
would be able to find an outlet or an action through the interface
builder, but it's not as simple as I thought. I also looked at mouse
and keyboard events, but it seems to be way too low level for what I
am looking for.
What's the right 'tool' for me?
Thank you for your help
Pierre
_______________________________________________
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