Re: Newbie: Dynamically filling NSTableView
Re: Newbie: Dynamically filling NSTableView
- Subject: Re: Newbie: Dynamically filling NSTableView
- From: Scott Stevenson <email@hidden>
- Date: Sun, 25 Feb 2007 22:49:00 -0800
On Feb 25, 2007, at 11:16 AM, Ryan Harter wrote:
1. User clicks the '+' button and an NSOpenPanel opens allowing the
user to select files.
Drag and drop can be added later with NSPasteBoard, I think.
2. User selects item(s) and the paths are extracted, converted to
NSStrings and added to the array connected to the table.
3. status is set to pending until the files are worked on.
4. NSTableView reloads data from the array and the file paths are
displayed.
Let me know if you have any ideas. Is this an accurate approach?
This all looks good, though I'm not sure what you mean by number 3.
Which part are you stuck on? Have you read the documentation for
NSOpenPanel? I think it should give you everything you need.
- Scott
_______________________________________________
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