Skip to content

Instantly share code, notes, and snippets.

View dielsonsales's full-sized avatar
💻
Learning

Dielson Sales dielsonsales

💻
Learning
View GitHub Profile
@dielsonsales
dielsonsales / design_resources.md
Last active February 27, 2019 20:45
Design Resources
@dielsonsales
dielsonsales / obj_c_cheat_sheet.md
Last active February 18, 2017 16:04
Objective-C Cheat Sheet

Properties

Using properties instead of instance variables in as many places as possible provides many benefits:

  • By default getter and setter methods are created for you;
  • Properties provide the potential for declaration of attributes like assign (vs copy), weak, atomic (vs nonatomic), and so on;
@property (readonly, getter=isBlue) BOOL blue;