On Apr 6, 2009, at 12:59 AM, Thomas Balthazar wrote:
>
> Hello Ross,
>
> Thanks for the feedback, appreciated!
>
> The _ is for private instance variables in Cappuccino, right?
> Why shouldn't we use the same convention in a Capp application? To
> avoid conflicts, or something like that?
Yes, to avoid conflicts. If you never use _ you never have to worry
about conflicting with one of your Cappuccino superclasses ivars. It's
not a requirement, but a reasonable guideline to follow.
> When you talk about the different notification center modes, you talk
> about the 'object' parameter of the addObserver method being set to
> nil (all objects) or to a particular object?
Yes, observers can choose to listen to all notifications or just
notifications from a specific object.