1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-11 08:59:48 +01:00
Telegram/Telegraph/TGSwitchItem.m

30 lines
430 B
Mathematica
Raw Normal View History

2014-07-10 16:11:09 +02:00
#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