Hi,
I have a class that subclasses NSMutableArray.
I init it using:
MyClass class = [MyClass arrayWithContentsOfFile:path];
When i try to access any of my subclass methods the app crashes with this error:
-[NSCFArray loadCards]: unrecognized selector sent to instance 0x454a30 * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[NSCFArray > mymethod]: unrecognized selector sent to instance 0x454a30' app[32259:20b] Stack: ( 2524995915,
I am suspecting this happens because arrayWithContentsOfFile:path returns NSArray and not "MyClass" so it can't response to my selector.
Any ideas?