Skip to content

Instantly share code, notes, and snippets.

@PaulSolt
Created February 9, 2013 20:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PaulSolt/4746913 to your computer and use it in GitHub Desktop.
Save PaulSolt/4746913 to your computer and use it in GitHub Desktop.
// 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