Re: program termination after releasing self defined NSXMLParser class
Re: program termination after releasing self defined NSXMLParser class
- Subject: Re: program termination after releasing self defined NSXMLParser class
- From: Jens Alfke <email@hidden>
- Date: Thu, 15 Apr 2010 16:45:26 -0700
On Apr 15, 2010, at 3:43 PM, Dominic Dauer wrote:
Everything works fine until call the release method to the parser.
In the simulator the app is terminating without any message in the
log.
I guess I do a fundamental mistake.
Run the app with the debugger and it should tell you where it's
crashing. That may help pin it down.
I don't see anything obviously wrong, although subclassing NSXMLParser
and setting it to be its own delegate seems weird — the purpose of a
delegate mechanism is so you don't have to subclass; you can instead
implement the delegate API in your own unrelated class and set an
instance as the delegate.
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden