Subclass ViewController.m
Code:
@interface ViewController : NSViewController
@property (assign) IBOutlet NSArrayController *objectArrayController;
@property (assign) IBOutlet NSTableView *objectTable;
@property (weak) IBOutlet NSImageCell *objectImageCell;
@end
- And
ViewController.m
contains the implementation Pretty standard - How exactly do I access these properties from a separate class?
- Do I just include the
'ViewController.m'
file, or do I declaresetter/gettor
methods somewhere in themain.m
file which I can access from any file in my project?