• 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: NSXMLParser in background thread crashing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSXMLParser in background thread crashing


  • Subject: Re: NSXMLParser in background thread crashing
  • From: "Justin R. Miller" <email@hidden>
  • Date: Fri, 23 Feb 2007 09:21:38 -0500

On Feb 23, 2007, at 8:54 AM, Sherm Pendley wrote:

I'm not sure what sort of reasoning leads you to think that creating a new class is simpler than adding a method to an existing class - but anyway, that's not important.

Are you speaking of a category here? I'm trying to learn how else I could have accomplished this. Are you suggesting a category with a new method that calls [super parse] after seeing up the pool? I realize this whole approach is moot now, but I'm trying to learn something here.


You need to create such a method for reasons beyond just memory management, and where you create it doesn't really matter. What *does* matter is that it has the proper signature, and -parse doesn't.

Understood -- thanks for this insight. What are the practical ramifications of the way I've done it? Again, I'm trying to learn some theory here.


--
Justin R. Miller
Code Sorcery Workshop
http://codesorcery.net


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: NSXMLParser in background thread crashing
      • From: Sherm Pendley <email@hidden>
    • Re: NSXMLParser in background thread crashing
      • From: "Justin R. Miller" <email@hidden>
References: 
 >NSXMLParser in background thread crashing (From: "Justin R. Miller" <email@hidden>)
 >Re: NSXMLParser in background thread crashing (From: Jim Correia <email@hidden>)
 >Re: NSXMLParser in background thread crashing (From: "Philip Q" <email@hidden>)
 >Re: NSXMLParser in background thread crashing (From: "Justin R. Miller" <email@hidden>)
 >Re: NSXMLParser in background thread crashing (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: Disabling Menu Items.
  • Next by Date: Re: NSXMLParser in background thread crashing
  • Previous by thread: Re: NSXMLParser in background thread crashing
  • Next by thread: Re: NSXMLParser in background thread crashing
  • Index(es):
    • Date
    • Thread