FreeRDP
EditFlagTableViewCell.m
1 /*
2  Custom table cell with toggle switch
3 
4  Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
5 
6  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
7  If a copy of the MPL was not distributed with this file, You can obtain one at
8  http://mozilla.org/MPL/2.0/.
9  */
10 
11 #import "EditFlagTableViewCell.h"
12 
13 @implementation EditFlagTableViewCell
14 
15 @synthesize label = _label, toggle = _toggle;
16 
17 - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
18 {
19  self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
20  if (self)
21  {
22  // Initialization code
23  }
24  return self;
25 }
26 
27 - (void)setSelected:(BOOL)selected animated:(BOOL)animated
28 {
29  [super setSelected:selected animated:animated];
30 
31  // Configure the view for the selected state
32 }
33 
34 @end