Re: ArrayController Out of Bounds

2008-06-07 Thread Gerriet M. Denkmann
On 4 Jun 2008, at 21:50, Shawn Erickson wrote: On Wed, Jun 4, 2008 at 6:18 AM, Gerriet M. Denkmann <[EMAIL PROTECTED]> wrote: When this table contains some rows and I click on the table column header I always get: *** -[NSCFArray objectAtIndex:]: index (-1) beyond bounds (5) where 5 is the

Re: ArrayController Out of Bounds

2008-06-04 Thread Keary Suska
6/4/08 8:50 AM, also sprach [EMAIL PROTECTED]: >> When this table contains some rows and I click on the table column header I >> always get: >> *** -[NSCFArray objectAtIndex:]: index (-1) beyond bounds (5) >> where 5 is the correct number of rows displayed. >> >> What am I doing wrong? >> This is

Re: ArrayController Out of Bounds

2008-06-04 Thread Shawn Erickson
On Wed, Jun 4, 2008 at 7:50 AM, Shawn Erickson <[EMAIL PROTECTED]> wrote: > On Wed, Jun 4, 2008 at 6:18 AM, Gerriet M. Denkmann > <[EMAIL PROTECTED]> wrote: > >> When this table contains some rows and I click on the table column header I >> always get: >> *** -[NSCFArray objectAtIndex:]: index (-1)

Re: ArrayController Out of Bounds

2008-06-04 Thread Shawn Erickson
On Wed, Jun 4, 2008 at 6:18 AM, Gerriet M. Denkmann <[EMAIL PROTECTED]> wrote: > When this table contains some rows and I click on the table column header I > always get: > *** -[NSCFArray objectAtIndex:]: index (-1) beyond bounds (5) > where 5 is the correct number of rows displayed. > > What am

ArrayController Out of Bounds

2008-06-04 Thread Gerriet M. Denkmann
I have an NSTableView with one column which creates exceptions when sorted. 10.4.11. [ tableColumn infoForBinding: @"value" ] --> NSObservedKeyPath = "arrangedObjects.kMDItemPath"; NSObservedObject = [object class: NSMetadataItem, number of selected objects: 1]; NSOptions = {