Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

BadWolf13

macrumors 6502
Original poster
Dec 17, 2009
271
0
I'm just wondering, if you create a category for an existing class, like NSString or NSArray, will the methods also be adopted by the subclasses, like NSMutableString and NSMutableArray?
 
Yes, absolutely. This is absolutely necessary for categories on NSObject to affect every subclass, like KVO and KVC.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.