• 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: Feh. Obj-C syntax question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feh. Obj-C syntax question


  • Subject: Re: Feh. Obj-C syntax question
  • From: "A.M." <email@hidden>
  • Date: Wed, 7 Nov 2007 19:29:50 -0500


On Nov 7, 2007, at 7:23 PM, Rick Mann wrote:


On Nov 7, 2007, at 4:19 PM, Joachim Deelen wrote:

This is not the correct Syntax for Properties...

Yes, thank you. That was just pointed out to me.

So, here's the new question:

I really like to prefix my member variables with a small "m". As you can imagine (and as I expected), the auto-get/set generation doesn't deal with this well. It created setMFoo(), rather than dropping the "m" (I didn't expect it to do anything else).

I don't suppose, by some miracle, there's a way to get it to handle that better, is there?

There doesn't seem to be any advantage to prefixing instance variables anymore because one no longer needs to access the underlying variable directly in the @implementation.


Cheers,
M [with preference for the underscore]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Feh. Obj-C syntax question
      • From: Rick Mann <email@hidden>
References: 
 >Feh. Obj-C syntax question (From: Rick Mann <email@hidden>)
 >Re: Feh. Obj-C syntax question (From: Thomas Davie <email@hidden>)
 >Re: Feh. Obj-C syntax question (From: Rick Mann <email@hidden>)
 >Re: Feh. Obj-C syntax question (From: Joachim Deelen <email@hidden>)
 >Re: Feh. Obj-C syntax question (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Feh. Obj-C syntax question
  • Next by Date: Fwd: Feh. Obj-C syntax question
  • Previous by thread: Re: Feh. Obj-C syntax question
  • Next by thread: Re: Feh. Obj-C syntax question
  • Index(es):
    • Date
    • Thread