Your instantiating your NSBrowser from a nib file. Try over riding
- (id)initWithCoder:(NSCoder *)coder
-raleigh
On Jun 26, 2011, at 4:18 AM, Ari Black wrote:
> On 11-06-26 7:04 AM, Fritz Anderson wrote:
>>
>> On 25 Jun 2011, at 7:05 PM, Ari Black wrote:
>>
>>> @implementation SpecialMatrix
>
On 11-06-26 7:04 AM, Fritz Anderson wrote:
On 25 Jun 2011, at 7:05 PM, Ari Black wrote:
@implementation SpecialMatrix
- (id)initWithFrame:(NSRect)frameRect mode:(NSMatrixMode)aMode
prototype:(NSCell *)aCell numberOfRows:(NSInteger)numRows
numberOfColumns:(NSInteger)numColumns {
int x;
On 26 Jun 2011, at 6:18 AM, Ari Black wrote:
>> Second step: Maybe an NSBrowser doesn't instantiate any matrices until you
>> have responded to browser:numberOfRowsInColumn: with a non-zero value?
>>
>> — F
>
> That's possible, but I've tested adding items to the columns and
> SpecialMatr
On 25 Jun 2011, at 7:05 PM, Ari Black wrote:
> @implementation SpecialMatrix
>
> - (id)initWithFrame:(NSRect)frameRect mode:(NSMatrixMode)aMode
> prototype:(NSCell *)aCell numberOfRows:(NSInteger)numRows
> numberOfColumns:(NSInteger)numColumns {
>int x;
>x = 0; // I put a breakpoint he
Hello all,
I'm trying to set the matrix class for an NSBrowser I have in a window.
I have the following in my .h file:
@interface SpecialMatrix : NSMatrix {
}
//- (id)initWithFrame:(NSRect)frameRect mode:(NSMatrixMode)aMode
prototype:(NSCell *)aCell numberOfRows:(NSInteger)numRows
numberOfC