• 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: Code style guidelines
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Code style guidelines


  • Subject: Re: Code style guidelines
  • From: Shawn Erickson <email@hidden>
  • Date: Thu, 20 May 2004 09:12:47 -0700

On May 20, 2004, at 8:03 AM, Christoffer Lerno wrote:

Hi everyone,

I'm trying to figure out some good, consistent style for my obj-c code. Obviously there is the naming guidelines, but what about spacing?

Are there any preferred way of writing

-(id) someMethod:(NSObject*)anObject?

I've seen spacing like this

- (id)someMethod:(NSObject *)anObject

and many other variants.

Anything to recommend?

Review the following... however I doubt it outlines a suggestion for the above.

<http://developer.apple.com/documentation/Cocoa/Conceptual/ CodingGuidelines/index.html>

-Shawn
_______________________________________________
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.


References: 
 >Code style guidelines (From: Christoffer Lerno <email@hidden>)

  • Prev by Date: Re: Code style guidelines
  • Next by Date: Re: Easiest way to convert an NSImage to a JPEG
  • Previous by thread: Re: Code style guidelines
  • Next by thread: simulating a firewire cam?
  • Index(es):
    • Date
    • Thread