I want to extend a class using category NSArray+Populate.h:
@interface NSArray (Populate)
-(NSArray *) populateArray;
@end
How can I detect the situation if there is another category (from another module or library), extending NSArray with method having the same name ?
For example, if there is a NSArray+Fill.h:
@interface NSArray (Fill)
-(NSArray *) populateArray;
@end
As I understand, the run-time engine will choose one of the version silently, without any crash ?