Skip to content

Instantly share code, notes, and snippets.

@githubutilities
Last active September 6, 2015 09:39
Show Gist options
  • Select an option

  • Save githubutilities/51cf14be1a00270ee29c to your computer and use it in GitHub Desktop.

Select an option

Save githubutilities/51cf14be1a00270ee29c to your computer and use it in GitHub Desktop.
Analyse Existing Code

Analyse Existing Code

Refactoring

Memory Management

Class extension can add properties, while categories can't.

@interface MyView: UIView {
  int aaa; // instance variable
}
// property is more advance version of instance variable
@property(nonatomic) int bbb; // property
@end

Coding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment