1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-12 09:29:55 +01:00
Telegram/Telegraph/TGSwitchItem.m
2014-07-10 18:11:09 +04:00

30 lines
430 B
Objective-C

#import "TGSwitchItem.h"
@implementation TGSwitchItem
@synthesize title = _title;
@synthesize isOn = _isOn;
@synthesize action = _action;
- (id)init
{
self = [super initWithType:TGSwitchItemType];
if (self != nil)
{
}
return self;
}
- (id)initWithTitle:(NSString *)title
{
self = [super initWithType:TGSwitchItemType];
if (self != nil)
{
_title = title;
}
return self;
}
@end