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 PROTECTED]> wrote: > On Fri, Jun 27, 2008 at 9:30 PM, Alex Wait <[EMAIL PROTECTED]> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]