33 lines
898 B
Mathematica
33 lines
898 B
Mathematica
|
/*
|
||
|
Custom table cell with a label on the right, showing the current selection
|
||
|
|
||
|
Copyright 2013 Thinstuff Technologies GmbH, Author: Martin Fleisz
|
||
|
|
||
|
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
||
|
If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||
|
*/
|
||
|
|
||
|
#import "EditSelectionTableViewCell.h"
|
||
|
|
||
|
@implementation EditSelectionTableViewCell
|
||
|
|
||
|
@synthesize label = _label, selection = _selection;
|
||
|
|
||
|
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
|
||
|
{
|
||
|
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
|
||
|
if (self) {
|
||
|
// Initialization code
|
||
|
}
|
||
|
return self;
|
||
|
}
|
||
|
|
||
|
- (void)setSelected:(BOOL)selected animated:(BOOL)animated
|
||
|
{
|
||
|
[super setSelected:selected animated:animated];
|
||
|
|
||
|
// Configure the view for the selected state
|
||
|
}
|
||
|
|
||
|
@end
|