forked from jasarien/JSScrollableTabBar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJSTabItem.m
More file actions
38 lines (31 loc) · 661 Bytes
/
JSTabItem.m
File metadata and controls
38 lines (31 loc) · 661 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// JSTabItem.m
// ScrollableTabBar
//
// Created by James Addyman on 20/10/2010.
// Copyright 2010 JamSoft. All rights reserved.
//
#import "JSTabItem.h"
#import <UIKit/uikit.h>
@implementation JSTabItem
@synthesize title = _title;
@synthesize color = _color;
@synthesize textColor = _textColor;
- (id)initWithTitle:(NSString *)title andColor:(UIColor*)color andTextColor:(UIColor *)textColor;
{
if ((self = [super init]))
{
self.title = title;
self.textColor = textColor;
self.color = color;
}
return self;
}
- (void)dealloc
{
self.title = nil;
self.textColor = nil;
self.color = nil;
[super dealloc];
}
@end