Group Group Group Group Group Group Group Group Group

methods/iVars commands are no longer accessible

macOS 10.15.2 | Xcode 11.3

The NSObject Private category used to implement these methods seems to no longer be visible.

@interface NSObject (Private)
   -(id)_ivarDescription;
   -(id)_shortMethodDescription;
   -(id)_methodDescription;
@end

What can we do to return such behaviour again?

@lolgrep Can you please help with this when you get a chance? Thank you - much appreciated! :]

_.*Description methods were implemented in the iOS SDK, not Cocoa. If the boom references this in Cocoa then that’s an error.

Would be a great exercise to figure the implementation yourself and see if you can reimplement this yourself as a category

This topic was automatically closed after 166 days. New replies are no longer allowed.