Created
May 17, 2012 21:42
-
-
Save migueldeicaza/2721741 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [[UILabel appearance] setFont:[UIFont italicSystemFontOfSize:100]]; | |
| [[UILabel appearance] setTextColor:[UIColor redColor]]; | |
| [[UILabel appearance] setShadowColor:[UIColor redColor]]; | |
| [[UILabel appearance] setShadowOffset:CGSizeMake(4,4)]; | |
| int i=0; | |
| unsigned int mc = 0; | |
| Method * mlist = class_copyMethodList(object_getClass([UILabel appearance]), &mc); | |
| NSLog(@"%d methods", mc); | |
| for(i=0;i<mc;i++) | |
| NSLog(@"Method no #%d: %s", i, sel_getName(method_getName(mlist[i]))); | |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
2012-05-17 17:42:56.714 appearancetests[4746:f803] 9 methods
2012-05-17 17:42:56.715 appearancetests[4746:f803] Method no #0: _resettableInvocationsCreateIfNecessary
2012-05-17 17:42:56.715 appearancetests[4746:f803] Method no #1: updateResettableSelectorsWithInvocation:removeSelector:
2012-05-17 17:42:56.716 appearancetests[4746:f803] Method no #2: _appearanceInvocations
2012-05-17 17:42:56.716 appearancetests[4746:f803] Method no #3: _CustomizableClass
2012-05-17 17:42:56.716 appearancetests[4746:f803] Method no #4: _resettableInvocations
2012-05-17 17:42:56.717 appearancetests[4746:f803] Method no #5: _setResettableInvocations:
2012-05-17 17:42:56.717 appearancetests[4746:f803] Method no #6: dealloc
2012-05-17 17:42:56.718 appearancetests[4746:f803] Method no #7: methodSignatureForSelector:
2012-05-17 17:42:56.718 appearancetests[4746:f803] Method no #8: forwardInvocation:
(lldb)