Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Indentation of Objective-C Method Definitions in Project Builder

Indentation of Objective-C Method Definitions in Project Builder
Thread Tools
Fresh-Faced Recruit
Join Date: Nov 2001
Location: Pennsylvania
Status: Offline
Reply With Quote
Dec 18, 2001, 08:21 PM
 
Hey,

I'm just getting started with Cocoa programming (using Aaron Hillegass's excellent Cocoa Programming for Mac OS X, might I add) and I've noticed that while Hillegass uses method definitions that look like

<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>
- (void)tableView NSTableView *)aTableView
setObjectValue id)anObject
forTableColumn NSTableColumn *)aTableColumn
row int)rowIndex
</font>[/code]

Project Builder's indentation rules seem to frown upon this style of indentation for method definitions (which is odd, since it accepts -- heck, even auto-indents! -- multi-line method calls). Does anyone know how I could get around this and have the method definitions auto-indent or know who I might be able to contact to see about getting this feature added?

[ 12-18-2001: Message edited by: Evan DiBiase ]
     
Senior User
Join Date: Feb 2001
Location: Rochester, uk
Status: Offline
Reply With Quote
Dec 19, 2001, 03:48 AM
 
In our company, we've just spent a month agreeing on indentation standards for Java. The moral: don't ask that question...
All words are lies. Including these ones.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:07 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2