Re: NSXMLParser in background thread crashing
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