Re: Writing a protected method in Obj-C
Re: Writing a protected method in Obj-C
- Subject: Re: Writing a protected method in Obj-C
- From: Gregory Weston <email@hidden>
- Date: Thu, 18 Sep 2003 20:41:42 -0400
On Thursday, Sep 18, 2003, at 17:33 US/Eastern, Umed Zokirov wrote:
How can one write a protected method in Obj-C, I mean protected in
sense of C++ protected member function.
One can't. Any code can send any message to any object. The best you
can do is avoid documenting it. Put it in a category declared in a
separate header file.
G
_______________________________________________
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.