• 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: Re: Get selectedItem (and items) in NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Get selectedItem (and items) in NSOutlineView


  • Subject: Re: Re: Get selectedItem (and items) in NSOutlineView
  • From: malcom <email@hidden>
  • Date: Sat, 28 Oct 2006 19:12:55 +0200

Mmmm tried to +1 but this not solve the problem.
In fact it's not an index problem.
Suppose to have a just loaded table.
Now you click item A ---> the selection method return <NULL>
Now you click another item B (wherever you want...) ---> the selection
method return A
....item C ---> the seleciton return B

in fact it return the previous selected item and not the current. It's
datasource table.
The method is:
- (id)selectedItem { return [self itemAtRow: [self selectedRow]]; }
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Get selectedItem (and items) in NSOutlineView (From: malcom <email@hidden>)
 >Re: Get selectedItem (and items) in NSOutlineView (From: Dominik Pich <email@hidden>)

  • Prev by Date: Re: Get selectedItem (and items) in NSOutlineView
  • Next by Date: bindings best practices
  • Previous by thread: Re: Get selectedItem (and items) in NSOutlineView
  • Next by thread: Re: Get selectedItem (and items) in NSOutlineView
  • Index(es):
    • Date
    • Thread