Commits

Jordan Rose committed 69a51655c75
[ClangImporter] Instance methods on NSObject are also class methods. More specifically, instance methods on root objects are also class methods, because the metatype for that class will inherit from the root class. (That is, NSObject's metatype extends NSObject.) This is necessary to allow calling, say, -respondsToSelector: on a class. Unfortunately, it also brings in every other method on NSObject, including "informal protocol" category methods like -awakeFromNib. We should probably disprefer these in code completion, especially if they're declared in another module, but it is perfectly legal to call these methods on Class objects in Objective-C. <rdar://problem/13371711> Swift SVN r11614