In my code I have this line, but I was wondering if there is way to check whether @\"SomeController\" exists before I use it with the \"instantiateViewControllerWit
No, there is no check for this. However, you don't need to. This method will return nil
if the identifier doesn't exist, so just check for that with an NSAssert
.
EDIT Actually this is wrong!! That's weird...the return value section of the documentation contradicts another portion...but still the answer is ultimately no (there is no method to check for the existence of an identifier)