• 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: NSTableView-like object for Finder-like app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView-like object for Finder-like app


  • Subject: Re: NSTableView-like object for Finder-like app
  • From: Half Activist <email@hidden>
  • Date: Mon, 16 Apr 2007 16:09:54 +0200

Hi Ewan,

you should gve a look at this I think,
- (BOOL)tableView:(NSTableView *)aTableView shouldEditTableColumn: (NSTableColumn *)aTableColumn row:(int)rowIndex


Regards.


On Apr 16, 2007, at 3:58 PM, Ewan Delanoy wrote:

                 Hello all,

I'm working on a Cocoa app that is
a basic Finder-like file&directory browser, with a table view displaying
the files and subdirectories in the "current" directory.


 The extra feature I should like to have for that table
view is that, when you double-click
on an item in the table view that is a
directory, the app "moves" to that directory (in particular,
the table view's content changes).

As far as I know, this is not the kind of job
NSTableView does : a double-click on an item is understood
by the system as the beginning of a text edit on that item, so one could
only cheat by doing things in the -textDidBeginEditing:
delegate method (??)


 Is there   a Cocoa object that is more suited to what I want to
do here ?

Ewan


_______________________________________________

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:
40gmail.com


This email sent to email@hidden

_______________________________________________

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


References: 
 >NSTableView-like object for Finder-like app (From: "Ewan Delanoy" <email@hidden>)

  • Prev by Date: NSTableView-like object for Finder-like app
  • Next by Date: Re: NSTableView-like object for Finder-like app
  • Previous by thread: NSTableView-like object for Finder-like app
  • Next by thread: Re: NSTableView-like object for Finder-like app
  • Index(es):
    • Date
    • Thread