I would like to know witch is the best practice to test if void pointer is actually an objective C object pointer (NSObject*)…
- (id)initWithExecPath:(NSString*)executePath withArgs:(NSArray*)args identifier:(NSString*)identifierString contextInfo:(void*)contextInfo {
// I would like to check here if contextInfo is an NSObject
}
Thanks…
Check out this post from the CocoaWithLove site: