I'm fairly new to OS X dev and even newer to Rebel so apologies if this is a dumb question. We use Rebel, via Cocoapods, and are seeing several crashes on 10.8 due to the rbl_viewController being nil. It's fine on 10.9, untested on 10.7.
It happens on line 61 of the NSView+RBLViewControllerAdditions:
if ([self.rbl_viewController isKindOfClass:[RBLViewController class]]) {
If I check for nil at the same time then the crashes stop and everything works fine. I'm presuming that I'm doing something wrong to cause this but I'm not sure what - have you seen this before?
Hi,
I'm fairly new to OS X dev and even newer to Rebel so apologies if this is a dumb question. We use Rebel, via Cocoapods, and are seeing several crashes on 10.8 due to the rbl_viewController being nil. It's fine on 10.9, untested on 10.7.
It happens on line 61 of the NSView+RBLViewControllerAdditions:
If I check for nil at the same time then the crashes stop and everything works fine. I'm presuming that I'm doing something wrong to cause this but I'm not sure what - have you seen this before?
Thanks.