On Oct 9, 2014, at 10:03 AM, glenn andreas <gandr...@me.com> wrote: > (typed in mail) > > if ([[vc class] instanceMethodForSelector: selector] != [[vc superclass] > instanceMethodForSelector: selector]) { > // vc's class implements an instance method that is different from it's > superclass - i.e., it has overridden it > } >
Yes, I think that's about right. (It isn't the superclass; it looks right at UIViewController, which must also implement the method somehow. But that's minor.) Thanks! Tricky-wicky... m. -- matt neuburg, phd = http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com