Skip to content

Instantly share code, notes, and snippets.

@Bashta
Created July 12, 2016 12:19
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 Bashta/751a0838c3a9245c53eb9852bb54458a to your computer and use it in GitHub Desktop.
Save Bashta/751a0838c3a9245c53eb9852bb54458a to your computer and use it in GitHub Desktop.
- (void)myInitialization
{
//do your stuff
}
- (id)initWithFrame:(CGRect)aRect
{
self = [super initWithFrame:aRect];
if (self)
{
[self myInitialization];
}
return self;
}
- (id)initWithCoder:(NSCoder*)aDecoder
{
self = [super initWithCoder:aDecoder];
if (self)
{
[self myInitialization];
}
return self;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment