Blame client/iOS/Views/EditFlagTableViewCell.m

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