Cocoa code consistency.

Summary:
	Code consistency. See  https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/CodingGuidelines/CodingGuidelines.html