daily pastebin goal
17%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Explain awakeFromNib, initwithFrame usage
  2. -(void)setup
  3. {
  4.       self.contentMode = UIViewContentModeRedraw;
  5. }
  6.  
  7. -(void)awakeFromNib
  8. {
  9.     [self setup];
  10. }
  11.  
  12. -(id)initWithFrame:(CGRect)frame
  13. {
  14.      self=[super initWithFrame:frame];
  15.      if (self) {
  16.         [self setup];
  17.      }
  18.      return self;
  19.  }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top