• 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: Newbie: Dynamically filling NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Newbie: Dynamically filling NSTableView
      • From: Ryan Harter <email@hidden>
References: 
 >Newbie: Dynamically filling NSTableView (From: Ryan Harter <email@hidden>)
 >Re: Newbie: Dynamically filling NSTableView (From: Scott Stevenson <email@hidden>)
 >Re: Newbie: Dynamically filling NSTableView (From: Ryan Harter <email@hidden>)

  • Prev by Date: Re: ssh-tunnel, remote controlling (and stuff)
  • Next by Date: NSError question
  • Previous by thread: Re: Newbie: Dynamically filling NSTableView
  • Next by thread: Re: Newbie: Dynamically filling NSTableView
  • Index(es):
    • Date
    • Thread