Re: [NSTableView selectedRow] is always 0?
Re: [NSTableView selectedRow] is always 0?
- Subject: Re: [NSTableView selectedRow] is always 0?
- From: Ben Kazez <email@hidden>
- Date: Thu, 16 Feb 2006 09:16:57 -0600
On Feb 16, 2006, at 12:51 AM, email@hidden wrote:
Message: 11
Date: Wed, 15 Feb 2006 21:15:33 -0500
From: Andy Lee <email@hidden>
Subject: Re: [NSTableView selectedRow] is always 0?
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
On Feb 15, 2006, at 8:12 PM, Juan P. Pertierra wrote:
I'm calling reloadData and noteRowsDidChange when every item is
added. Yet, selectedRow always returns 0. Any ideas?
Are you sure you're sending -selectedRow to the actual table view,
and not nil? Sounds like you might have an uninitialized variable.
This could be caused by an unconnected IBOutlet. (Unconnected
IBOutlets are uninitialized instance variables, so they're nil.) I
would check the connections in Interface Builder.
Ben
_______________________________________________
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