text: //
  //  SKTagView.h
  //
  //  Created by Shaokang Zhao on 15/1/12.
  //  Copyright (c) 2015 Shaokang Zhao. All rights reserved.
  //
  
  #import <UIKit/UIKit.h>
  #import "SKTag.h"
  
  @interface SKTagView : UIView
  
  @property (assign, nonatomic) UIEdgeInsets padding;
  @property (assign, nonatomic) CGFloat lineSpacing;
  @property (assign, nonatomic) CGFloat interitemSpacing;
  @property (assign, nonatomic) CGFloat preferredMaxLayoutWidth;
  @property (assign, nonatomic) CGFloat preferredTagHeight;
  
  @property (assign, nonatomic) BOOL singleLine;
  @property (copy, nonatomic, nullable) void (^didTapTagAtIndex)(NSUInteger index);
  
  - (void)addTag: (nonnull SKTag *)tag;
  - (void)insertTag: (nonnull SKTag *)tag atIndex:(NSUInteger)index;
  - (void)removeTag: (nonnull SKTag *)tag;
  - (void)removeTagAtIndex: (NSUInteger)index;
  - (void)removeAllTags;
  
  @end
  
  