Skip to content

Commit

Permalink
tag 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lijingcheng committed Aug 8, 2016
1 parent 14f5a74 commit 9fbbe69
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions Example/JCTagListView/JCViewController.m
Expand Up @@ -27,6 +27,7 @@ - (void)viewDidLoad
// self.tagListView.tagBackgroundColor = [UIColor orangeColor];
// self.tagListView.tagTextColor = [UIColor greenColor];
// self.tagListView.tagSelectedBackgroundColor = [UIColor yellowColor];
self.tagListView.tagSelectedTextColor = [UIColor blackColor];
self.tagListView.tagCornerRadius = 5.0f;

[self.tagListView.tags addObjectsFromArray:@[@"NSString", @"NSMutableString", @"NSArray", @"UIAlertView", @"UITapGestureRecognizer", @"IBOutlet", @"IBAction", @"id", @"UIView", @"UIStatusBar", @"UITableViewController", @"UIStepper", @"UISegmentedControl", @"UICollectionViewController", @"UISearchBar", @"UIToolbar", @"UIPageControl", @"UIActionSheet", @"NSMutableArray", @"NSDictionary", @"NSMutableDictionary", @"NSSet", @"NSMutableSet", @"NSData", @"NSMutableData", @"NSDate", @"NSCalendar", @"UIButton", @"UILabel", @"UITextField", @"UITextView", @"UIImageView", @"UITableView", @"UICollectionView", @"UIViewController"]];
Expand All @@ -46,9 +47,10 @@ - (IBAction)delete:(id)sender

[self.tagListView.collectionView reloadData];

JCTableViewController *tableVC = [self.storyboard instantiateViewControllerWithIdentifier:@"JCTableViewController"];

[self.navigationController pushViewController:tableVC animated:YES];
// tags in cell
// JCTableViewController *tableVC = [self.storyboard instantiateViewControllerWithIdentifier:@"JCTableViewController"];
//
// [self.navigationController pushViewController:tableVC animated:YES];
}

@end
2 changes: 1 addition & 1 deletion JCTagListView.podspec
Expand Up @@ -9,7 +9,7 @@

Pod::Spec.new do |s|
s.name = "JCTagListView"
s.version = "0.1.0"
s.version = "0.1.1"
s.summary = "Support delete tags and settings tags color."
s.homepage = "http://lijingcheng.github.io/"
# s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
Expand Down

0 comments on commit 9fbbe69

Please sign in to comment.