• 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
Q: how do you generate get/set methods?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Q: how do you generate get/set methods?


  • Subject: Q: how do you generate get/set methods?
  • From: Alexander Spohr <email@hidden>
  • Date: Sat, 17 Jan 2004 14:42:15 +0100

hi list,

a simple question to all:
how do you generate init/get/set/dealloc declarations and methods for ivars?

do you type them by hand for every ivar?
i hate writing that stuff again and again by hand :)

i am curious, because i have built a service doing that for me.
it works by
- selecting the header (cmd-a)
- invoking the service
- pasting it into the .h/.m file

would anyone be interested in that little tool?

atze
_______________________________________________
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: mmalcolm crawford <email@hidden>
    • Re: Q: how do you generate get/set methods?
      • From: Andy Satori <email@hidden>
    • Re: Q: how do you generate get/set methods?
      • From: "M. Uli Kusterer" <email@hidden>
  • Prev by Date: Re: How Can i make my View as Sticky
  • Next by Date: [ANN] Site for standard toolbar icons gone live.
  • Previous by thread: [PRO] KVO on NSMutableArray, a "one to many" fine point
  • Next by thread: Re: Q: how do you generate get/set methods?
  • Index(es):
    • Date
    • Thread