PDA

View Full Version : Question about NSPathUtilities




mdeh
Jan 3, 2009, 02:16 PM
Even though many functions are declared in <NSPathUtilities.h> it does not appear to be it's own class. ( If NSPathUtilities is searched for in the documentation, there is no class by this name).
What exactly is it, and where are all the common methods/functions for this header?
thanks in advance.

ps...slightly OT...but, is there a problem with the OBJ-C mailing list at Apple. It seems to have been down for a few days...or it may just be me.

Thanks again.



Catfish_Man
Jan 3, 2009, 03:12 PM
Those are categories. They add methods to other classes, in this case NSArray and NSString.

mdeh
Jan 3, 2009, 03:15 PM
Those are categories. They add methods to other classes, in this case NSArray and NSString.


Thanks Catfish_Man...I "kind of" thought so. Let me ask this then....a really basic question.
Where in the documentation can you see that this is so?

thanks again for clearing this up.

Catfish_Man
Jan 3, 2009, 06:21 PM
I doubt it's documented that it's a category, as it doesn't really matter... the methods it declares are in the NSArray and NSString documentation.

mdeh
Jan 3, 2009, 06:49 PM
I doubt it's documented that it's a category, as it doesn't really matter... the methods it declares are in the NSArray and NSString documentation.

ok tks