problem with respondsToSelector
problem with respondsToSelector
- Subject: problem with respondsToSelector
- From: Mark Munz <email@hidden>
- Date: Sat, 27 Mar 2004 09:32:23 -0700
I'm having problems using respondsToSelector and I'm hoping someone can
point me out the error in my thinking:
I'm trying to determine if the code to read Word documents is around
(my code has to run on 10.2 as well, so I can't just rely on 10.3's
SDK). However this code:
if ( [NSAttributedString respondsToSelector:
@selector(initWithDocFormat:documentAttributes:)] )
{
// actually read in the document
}
seems to always return false (thus the document never gets read in).
Any help is appreciated.
Thanks.
Mark Munz
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.