Hi, people. I study Obj-C and Cocoa now, and I was wondering: why everybody writes method definitions/implementations like this:
- (void)translateOriginToPoint:(NSPoint)newOrigin{
- all together, no spaces.
For me, it's way more clean to write everything with spaced like this:
- (void) translateOriginToPoint: (NSPoint) newOrigin {
But I see non-spaced style everywhere: Apple documentation, code samples in various Cocoa dev sites and blogs, i. e. that's how experienced programmers write this. Why so?