• 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: NSArray bad access?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArray bad access?


  • Subject: Re: NSArray bad access?
  • From: Scott Anguish <email@hidden>
  • Date: Mon, 17 Jun 2002 04:22:20 -0400

assuming this code is verbatim, the problem is that you're never calling [super init] in your -init of MyObject.. same in MyMainObject.

the retain is an issue as well.. but others have said that..


On Monday, June 17, 2002, at 03:31 AM, Philippe Hausler wrote:

<snip>

- (id)init
{
s = [NSMutableArray arrayWithObject:@"test"];
return self;
}
_______________________________________________
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.

References: 
 >NSArray bad access? (From: Philippe Hausler <email@hidden>)

  • Prev by Date: Re: deleting outline rows using a delegate
  • Next by Date: Re: displaying folder contents in an NSOutlineView
  • Previous by thread: Re: NSArray bad access?
  • Next by thread: What should i use ???? (NSView || NSButton || NSCustomView)
  • Index(es):
    • Date
    • Thread