• 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: Style Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Style Question


  • Subject: Re: Style Question
  • From: "Shawn Erickson" <email@hidden>
  • Date: Fri, 27 Jun 2008 21:40:31 -0700

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
_______________________________________________

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

  • Follow-Ups:
    • Re: Style Question
      • From: "Alex Wait" <email@hidden>
References: 
 >Style Question (From: "Alex Wait" <email@hidden>)

  • Prev by Date: Style Question
  • Next by Date: Re: Core data question in multiwindow doc app
  • Previous by thread: Style Question
  • Next by thread: Re: Style Question
  • Index(es):
    • Date
    • Thread