Re: Is this a bug, or am I hacking?
Re: Is this a bug, or am I hacking?
- Subject: Re: Is this a bug, or am I hacking?
- From: "Michael Ash" <email@hidden>
- Date: Fri, 15 Aug 2008 00:41:55 -0400
On Thu, Aug 14, 2008 at 8:45 PM, Graham Cox <email@hidden> wrote:
>
> As it turns out I can get the functionality I need by simply subscribing to
> both notifications, but I was trying to avoid linking in the headers for all
> the object types that are contained by my data management code - the UI for
> that model doesn't otherwise "need to know" what object types they are, as
> apart from this one notification, they conform to a common protocol.
Why not make the notification part of the common protocol, if it
really is a common notification? It's extremely bad to have two
different symbols for notifications which just *happen* to be equal so
that you can receive them both with a single method. It would be much
better to have a single symbol, which makes it obvious what's going
on.
> So this isn't in any way a showstopper - but I'd like to understand the
> nature of this behaviour so that a) I can avoid it again in future and b)
> file a bug if it is one.
This is almost certainly a bug in your code somewhere, but without
seeing it, it's hard to say what it would be.
Mike
_______________________________________________
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