I have a specific question and I could not find an answer for it.
I have a storyboard which has some views. Some of the views have outlets. I understand that I have to declare my outlets as weak parameters however I don't know if I have to declare getters and setters (with @property and synthesize).
1 - __weak IBOutlet UITableView *table;
2 - @property(nonatomic, weak) UITableView *table;
If I just declare (1) I can just do "table" on the view controller.
If I declare (1) and (2) I can do self.table.
What's the difference? What is the best approach?