On Fri, Apr 16, 2010 at 9:25 AM, Jens Alfke <j...@mooseyard.com> wrote:
> That’s true in general, but in this case he’s setting the parser’s delegate
> to itself. Which is weird, but should mean that the object can’t possibly
> outlive the delegate :)

Well there's yer problem! :D

The first step is not making an object its own delegate. We've seen
plenty of cases (including one recently with UITextField) where
objects send themselves messages that are also part of their delegate
protocol. So this is never a good idea to begin with.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to