How “Unknown class <MyClass> in Interface Builder file” error can be fixed with a line reads “[MyClass class]”?
问题 I read the following answer, so I know that "Unknown class in Interface Builder file" error can be solved using the -ObjC linker option. (FYI, MyClass is in static library.) https://stackoverflow.com/a/6092090/534701 I've also found that single line of [MyClass class] code in the App Delegate can handle the same problem without using -ObjC option. My Question is how come the code can work. According to the answer that I've attached above, the error occurs because symbols in my static