Created
February 9, 2013 20:17
-
-
Save PaulSolt/4746913 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
// ViewController.m | |
// Use at top | |
#import <QuartzCore/QuartzCore.h> | |
//... | |
// Add below the @implementation | |
- (void)loadView { | |
[super loadView]; // important to have this call, otherwise things might not load | |
NSLog(@"load view"); | |
self.starButton.layer.cornerRadius = 20; // this value vary as per your desire | |
self.starButton.clipsToBounds = YES; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment