Re: Style Question
Re: Style Question
- Subject: Re: Style Question
- From: "Alex Wait" <email@hidden>
- Date: Fri, 27 Jun 2008 21:44:45 -0700
I got another Style related question.
if I have a member, let's say a NSString, called FirstName...
would the setter still be setFirstName?
I notice how it capitalizes the first letter even if the member doesn't
start with a capital letter.
if I have a "three word" named variable, let's say firstNameFirst
how would it find it? Or does it do a case insensitive compare?
On Fri, Jun 27, 2008 at 9:40 PM, Shawn Erickson <email@hidden> wrote:
> On Fri, Jun 27, 2008 at 9:30 PM, Alex Wait <email@hidden> wrote:
>
> > Also since I am using this style, XCode doesn't tab in for me when I type
> {
> > then a return.
>
> It will if you enable it (at least it always does for me).
>
> Use whatever coding style you want however do try to follow Cocoa like
> naming convention.
>
> Personally for methods I have the { on the line following the method
> definition while for all other blocks (most other) I have the { at the
> trailing end of the line (aka end of the if statement line, etc.).
>
> -Shawn
>
--
If you can't be kind, at least have the decency to be vague.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden