On Mon, Feb 23, 2015, at 03:45 PM, Kyle Sluder wrote:
> On Mon, Feb 23, 2015, at 03:22 PM, BareFeetWare wrote:
> > @interface NSObject (Private)
> > - (NSString *) _shortMethodDescription;
> > @end
> > 
> > NSString *fullMethodList = [[self class] _shortMethodDescription];
> > 
> > which gives the full header breakdown of methods with parameters and
> > return classes.
> 
> I have no idea what method that is, but it is not part of Apple's
> frameworks:

Heh. This has been an exercise in learning my own framework. That
*PRIVATE* method *ON WHOSE EXISTENCE YOU SHOULD NOT RELY* only exists on
iOS.

It doesn't do anything special, and it doesn't print out specific object
types for methods. -[NSObject description] is typed to return NSString*,
but that method prints:

                - (id) description; (0xptr2impl)

--Kyle Sluder
_______________________________________________

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

Reply via email to