Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Style Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Style Question



I have noticed, coming from C++ and Visual Studio (at school), a couple
style differences

if (value) {
    //do something
}

insteasd of

if (value)
{
    //do something
}

Also since I am using this style, XCode doesn't tab in for me when I type {
then a return. This is the style I "taught" and I would like to continue the
good habits
during the summer.

Is this a Cocoa style? I've seen it on this mailing list and in the
Hillegeass book.

--
If you can't be kind, at least have the decency to be vague.
_______________________________________________

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.