// NSObject 中的私有方法 @interface NSObject (Private) -(id)_ivarDescription; -(id)_shortMethodDescription; -(id)_methodDescription; @end
_shortMethodDesctiption 列举了所有实例和类方法;
_methodDescription大致和_shortMethodDesctiption一样,但是更加详细还包含了超类的方法;
_ivarDescription列举了所有的实例变量、类型和值。
lldb$ po [WCAccountManualAuthControlLogic _methodDescription] <WCAccountManualAuthControlLogic: 0x103ab92b0>: in WCAccountManualAuthControlLogic: Properties: @property (nonatomic) unsigned int m_uiCGIScene; (@synthesize m_uiCGIScene = m_uiCGIScene;) @property (nonatomic) BOOL m_bDontFillWTBuf; (@synthesize m_bDontFillWTBuf = m_bDontFillWTBuf;) @property (readonly) unsigned long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString* description; @property (readonly, copy) NSString* debugDescription;
发表评论