• 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: Brent Gulanowski <email@hidden>
  • Date: Thu, 20 May 2004 12:10:03 -0400

ACK sorry did not read your e-mail completely, I am a lazy jerk!

I would have to say that this is a personal thing. Apple certainly
follows consistent behaviour so why not just imitate their headers?

Cheers,


On May 20, 2004, at 11: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?
>
> /Christoffer
> _______________________________________________
> 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.
>
>
--
Brent Gulanowski email@hidden

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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: Code style guidelines
  • Previous by thread: Re: Code style guidelines
  • Next by thread: Re: Code style guidelines
  • Index(es):
    • Date
    • Thread