I am engaged on refactoring my challenge a bit and I am making some minor changes to the perform names. Nevertheless, after doing this to all related courses which have the tactic to be renamed, I appear to be getting some ‘NSInvalidArgumentException’ errors the place I do not assume they need to be.
I’ve this line the place my utility crashes:
[super sceneDidConnectWithOptions:connectionOptions];
the place the perform signature that has this tremendous class invocation is (and reaches this with the debugger telling me connectionOptions is of kind UISceneConnectionOptions):
- (void)sceneDidConnectWithOptions:(UISceneConnectionOptions *)connectionOptions{
the place additionally, the tremendous class’s technique is outlined as:
- (void)sceneDidConnectWithOptions:(UISceneConnectionOptions *)connectionOptions;
I am undecided the place the NSInvalidArgumentException error can be coming from and do not see any syntax points as properly. I suspected that it could possibly be crashing due to connectionOptions being ‘nil’, however that is not the case as I put a code block checking for it and it wasn’t in addition to the debugger displaying me that it isn’t nil.