On Thu Dec 30 2010 12:14:46 GMT+1000 (PGT) Kyle Sluder wrote:
Instances of NSArrayController expose a selectedObjects property. If
all of its columns are bound to the same NSArrayController,
NSTableView autobinds its selection binding to the controller's
selectedObjects property. This is what ma
On Wed, Dec 29, 2010 at 5:11 PM, John Brownie wrote:
> On Thu Dec 30 2010 09:56:18 GMT+1000 (PGT) Kyle Sluder wrote:
>
>> Is it propagating the selection from the controller? IOW, just because
>> you have set avoidsEmptySelection=NO doesn't mean the controller will
>> *prefer* an empty selection.
On Thu Dec 30 2010 09:56:18 GMT+1000 (PGT) Kyle Sluder wrote:
Is it propagating the selection from the controller? IOW, just because
you have set avoidsEmptySelection=NO doesn't mean the controller will
*prefer* an empty selection.
I don't understand this. How does the controller propagate a s
On Wed, Dec 29, 2010 at 3:29 PM, John Brownie wrote:
> Erik Buck wrote:
>>
>> Enabling empty selection in IB should do the trick. You can also control
>> selection programmatically with the delegate.
>>
>> http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/NSTableViewDelegate_P
Erik Buck wrote:
Enabling empty selection in IB should do the trick. You can also control
selection programmatically with the delegate.
http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/NSTableViewDelegate_Protocol/Reference/Reference.html
That looked promising, but tableV
Enabling empty selection in IB should do the trick. You can also control
selection programmatically with the delegate.
http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/NSTableViewDelegate_Protocol/Reference/Reference.html
Out of curiosity: Why not allow selection? Users migh
I'm new to Cocoa, coming from Carbon programming (and, before that, Unix).
I am creating a utility-type window which shows information about the
current document, and one of the pieces is a table view listing one or
more items. The user can't do anything with this information apart from
look a