-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaggableTextView.h
More file actions
24 lines (21 loc) · 807 Bytes
/
TaggableTextView.h
File metadata and controls
24 lines (21 loc) · 807 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
//
// TaggableTextView.h
// tagg
//
// Created by Deep Patel on 3/5/14.
// Copyright (c) 2014 Deep Patel. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TaggableTextView : UITextView <UITableViewDataSource, UITableViewDelegate, UITextViewDelegate, UITextFieldDelegate>
@property (strong,nonatomic) UITableView *tableView;
@property (strong,nonatomic) UITextField *tagField;
@property (strong, nonatomic) NSArray *tagSource;
@property (strong, nonatomic) NSMutableArray *visibleRows;
@property (strong, nonatomic) NSString *tagPrefix;
@property (nonatomic, assign) BOOL cachedMode;
@property (strong, nonatomic) id tableViewClass;
@property (strong, nonatomic) id textFieldClass;
-(void) makeTaggable;
-(NSArray*) tagsForQuery: (NSString*) query;
-(void) didTagItemAt: (NSNumber*) i;
@end