I have noticed that the recommended way to test a view controller in XCode with Sencha testing is via instantiating it with
@property (nonatomic, readwrite, weak) MyMainViewController* mainViewController;
Why not just
@property (nonatomic, strong) MyMainViewController* mainViewController;
?
readwrite is not strictly necessary, as it is the default. As for strong vs weak, the main reason to use weak is to avoid a reference cycle (i.e. two objects that have strong references to each other so they will never be deallocated).