Skip to content

Instantly share code, notes, and snippets.

@coneybeare
Created February 2, 2010 04:45
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save coneybeare/292388 to your computer and use it in GitHub Desktop.
Save coneybeare/292388 to your computer and use it in GitHub Desktop.
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString*)identifier {
if (self = [super initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:identifier]) {
// Background Image
self.backgroundView = [[[UACellBackgroundView alloc] initWithFrame:CGRectZero] autorelease];
}
return self;
}
- (void)setPosition:(UACellBackgroundViewPosition)newPosition {
[(UACellBackgroundView *)self.backgroundView setPosition:newPosition];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment