Skip to content

Instantly share code, notes, and snippets.

@nalindz
Created April 3, 2012 23:45
Show Gist options
  • Save nalindz/2296412 to your computer and use it in GitHub Desktop.
Save nalindz/2296412 to your computer and use it in GitHub Desktop.
-(void) awakeFromNib {
//self.counterLabel = [[UILabel alloc] initWithFrame:CGRectMake(self.frame.size.height - LABEL_HEIGHT, self.frame.size.width - LABEL_WIDTH, LABEL_WIDTH, LABEL_HEIGHT)];
self.counterLabel = [[UILabel alloc] init];
self.counterLabel.text = @"666";
self.counterLabel.font = [UIFont systemFontOfSize:12.0];
self.counterLabel.textColor = [UIColor blackColor];
[self addSubview:self.counterLabel];
[super awakeFromNib];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment