Re: OBJ-C question
Re: OBJ-C question
- Subject: Re: OBJ-C question
- From: Ondra Cada <email@hidden>
- Date: Sat, 17 Apr 2004 19:13:18 +0200
Sherm,
On 17.4.2004, at 18:59, Sherm Pendley wrote:
>
You could add default implementations of your methods as a category to
>
NSObject. That would also take care of the warnings for informal
>
protocols.
That's exactly what you DON'T WANT to. That's the whole point of
informal protocols--let the class to implement the method or not, and
behave accordingly.
Presumed you don't want this behaviour--and agreeably, save the
delegates, it should be pretty rare in a good object design--of course
you don't need informal protocols either.
(But for hacks of different kind, but that's another story)
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.