Re: runtime error using NSArray with NSButton
Re: runtime error using NSArray with NSButton
- Subject: Re: runtime error using NSArray with NSButton
- From: Henri Lamiraux <email@hidden>
- Date: Thu, 5 Dec 2002 15:37:06 -0800
Do you retain in any way the array created by arrayWithObjects? objects
created by such methods are autoreleased.
On Thursday, December 5, 2002, at 12:43 PM, Mike McCune wrote:
hi all, I'm trying to create an NSArray with the method
arrayWithObjects, the objects are a mix of NSTextFields and NSButtons.
I'm doing the creation in awakeFromNib. When the program runs it exits
after start with signal(11) SIGSEGV. After debugging for awhile I
narrowed it down to the NSButtons that are being added to the NSArray.
I created a second NSArray and tried to add the NSButtons to just that
array, but same thing program exits with (11).
Anybody have any ideas? I'm using Obj-C and the latest edition of the
devtools with the july and october patches installed.
thanks,
Mike McCune
OPB Studios
email@hidden
_______________________________________________
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.
Henri Lamiraux
Engineering Manager
User Interface Tools Group
Apple
_______________________________________________
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.