• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Q: how do you generate get/set methods?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Q: how do you generate get/set methods?
      • From: Patrick Machielse <email@hidden>
References: 
 >Re: Q: how do you generate get/set methods? (From: Patrick Machielse <email@hidden>)

  • Prev by Date: Re: Question about multi-processing, multi-threading...
  • Next by Date: Re: CMKY <-> RGBA transforms?
  • Previous by thread: Re: CMKY <-> RGBA transforms?
  • Next by thread: Re: Q: how do you generate get/set methods?
  • Index(es):
    • Date
    • Thread