• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: runtime error using NSArray with NSButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: runtime error using NSArray with NSButton
      • From: crucial felix <email@hidden>
References: 
 >runtime error using NSArray with NSButton (From: Mike McCune <email@hidden>)

  • Prev by Date: Re: Interface Builder 2.3 - Show Info doesn't work, can't open the info panel
  • Next by Date: Re: runtime error using NSArray with NSButton
  • Previous by thread: Re: runtime error using NSArray with NSButton
  • Next by thread: Re: runtime error using NSArray with NSButton
  • Index(es):
    • Date
    • Thread