objective-c code formatting -
what way format piece of code?
uibarbuttonitem *prev = [[uibarbuttonitem alloc] initwithtitle:@"prev" style:uibarbuttonitemstylebordered target:self action:@selector(setdaterangeclicked:)];
taking question meaning, best way format code use xcode.
highlight code format, to edit -> format -> re-indent , have code in "standard" xcode formatting.
i've mapped keyboard shortcut alt-cmd-[ used textmate. it's buried under lots of menus, keyboard shortcut handy this. if use textmate, click inside block format , press ctrl-q. textmate has problems style of formatting though.
Comments
Post a Comment