objc-guide icon indicating copy to clipboard operation
objc-guide copied to clipboard

Objective-C Coding Guidelines

Results 5 objc-guide issues
Sort by recently updated
recently updated
newest added

I was asked if we had anything about blocks in here. We should probably add this? No idea what the convention should be :D I always go [here](http://fuckingblocksyntax.com/) to remind...

proposed convention

# Convention - Properties should maintain state - No mutable collections in properties - Property accessor methods should have minimal, predictable side effects - When overriding the getter, we almost...

proposed convention

# Convention - First letter should be lower case - Use camel case - No underscores - BOOL properties have special names (e.g., `setHidden` & `isHidden:`) - Getters don't begin...

proposed convention

# Convention When there is more than one way to init an object (e.g. initWithFrame, initWithCoder) and these perform common routines (such as setting ivars, sizing, etc.), consider using c-style...

proposed convention

# Convention - Don't make assumptions about a reverse-dependency's implementation. AKA, don't assume NSApp or NSApp's delegate conforms to a given protocol (even checking for conformance is wrong, because you...

proposed convention