• 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: program termination after releasing self defined NSXMLParser class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: program termination after releasing self defined NSXMLParser class
      • From: Dominic Dauer <email@hidden>
References: 
 >program termination after releasing self defined NSXMLParser class (From: Dominic Dauer <email@hidden>)

  • Prev by Date: program termination after releasing self defined NSXMLParser class
  • Next by Date: Re: How can we Pause And Play the Animations on UIView
  • Previous by thread: program termination after releasing self defined NSXMLParser class
  • Next by thread: Re: program termination after releasing self defined NSXMLParser class
  • Index(es):
    • Date
    • Thread