Re: Archive crash
Re: Archive crash
- Subject: Re: Archive crash
- From: Brian Webster <email@hidden>
- Date: Tue, 6 Aug 2002 11:30:27 -0500
On Tuesday, August 6, 2002, at 11:00 AM, cocoa-dev-
email@hidden wrote:
Now, I'll be amazed if anyone spots the problem just from this
but maybe
there's some basic concept that I've got wrong?
In your initWithCoder:, you need to retain theStroke after
decoding it. Currently it is autoreleased and gets deallocated,
causing a crash when you try to use it.
--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
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.