Re: NSMatrix programatic creation question
Re: NSMatrix programatic creation question
- Subject: Re: NSMatrix programatic creation question
- From: Sherm Pendley <email@hidden>
- Date: Fri, 9 Aug 2002 23:21:42 -0400
On Friday, August 9, 2002, at 10:46 PM, terry wrote:
startMatrix = [NSMatrix initWithFrame: aFrame mode: NSTrackModeMatrix
cellClass: [NSTextField class] numberOfRows: 2 numberOfColumns: 2];
You forgot to call alloc. It should be this:
startMatrix = [[NSMatrix alloc] initWithFrame: aFrame mode:
NSTrackModeMatrix cellClass: [NSTextField class] numberOfRows: 2
numberOfColumns: 2];
sherm--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.