I am then trying to populate an NSTableView with a filename obtained
from a
NSOpenPanel. The problem is that NSOpenPanel seems to return a
NSPathStore2
and not an NSString, which seems to be causing problems. Is there
are a way
to convert NSPathStore2 to an NSString?
NSPathStore2s are NSStrings -- cf. <http://www.cocoabuilder.com/archive/message/cocoa/2004/11/5/120866
>, for instance. You can also check themself yourself by sending them
a [object isKindOfClass: [NSString class]] message. (That's what I did
when I encountered them the first time.)
What exactly is the problem you're experiencing? It's probably not
related to what your NSOpenPanel is returning.
Peter.
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]