From 959ffe87cd0024127508dcc7067ce596a0eaa795 Mon Sep 17 00:00:00 2001 From: Mahesh Shanbhag Date: Wed, 25 Mar 2015 20:32:07 +0530 Subject: [PATCH] Using index instead of token title for color scheme of individual token. --- VENTokenField/VENToken.h | 1 - VENTokenField/VENToken.m | 4 ---- 2 files changed, 5 deletions(-) diff --git a/VENTokenField/VENToken.h b/VENTokenField/VENToken.h index 8c6d41e..21768cb 100644 --- a/VENTokenField/VENToken.h +++ b/VENTokenField/VENToken.h @@ -27,7 +27,6 @@ @property (assign, nonatomic) BOOL highlighted; @property (copy, nonatomic) void (^didTapTokenBlock) (void); @property (strong, nonatomic) UIColor *colorScheme; -@property (strong, nonatomic, readonly) NSString *title; - (void)setTitleText:(NSString *)text; diff --git a/VENTokenField/VENToken.m b/VENTokenField/VENToken.m index d06040f..0b353ab 100644 --- a/VENTokenField/VENToken.m +++ b/VENTokenField/VENToken.m @@ -73,10 +73,6 @@ - (void)setColorScheme:(UIColor *)colorScheme [self setHighlighted:_highlighted]; } -- (NSString *)title { - return self.titleLabel.text; -} - #pragma mark - Private