Re: Q: how do you generate get/set methods?
Re: Q: how do you generate get/set methods?
- Subject: Re: Q: how do you generate get/set methods?
- From: Daniel Jalkut <email@hidden>
- Date: Wed, 21 Jan 2004 10:59:52 -0800
On Jan 21, 2004, at 5:56 AM, Patrick Machielse wrote:
* Objective-C accessors to pointers are mostly not only accessors,
they also
serve as memory managers. Sadly this expands your public API, since
there is
no such thing as a private method in Objective-C.
But you can do a lot to "discourage use" by declaring "private methods"
inside the source file instead of the header file.
Daniel
_______________________________________________
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.