On 27 Jun '08, at 9:44 PM, Alex Wait wrote:
if I have a member, let's say a NSString, called FirstName... would the setter still be setFirstName?
Yes. But you shouldn't name the property "FirstName". Property and method (and instance variable) names should be lowercased. There are some exceptions made when the name begins with an acronym, most commonly "URL", that needs to remain uppercase for legibility.
Honestly, no one reading your code is going to care whether you put braces at the end of a line or on a new line. But naming conventions are important and can help or confuse other people (or yourself, a year later) trying to understand it.
—Jens_______________________________________________ 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]