kas-kad / AKTagsInputView

convenient input view for tags strings
Apache License 2.0
85 stars 20 forks source link

If `selectedTags` is empty while initializing, the lookup list is empty too. #13

Closed kas-kad closed 9 years ago

kas-kad commented 9 years ago
- (void)setTagsInputView:(AKTagsInputView *)tagsInputView
{
    _tagsInputView = tagsInputView;

    _tagsInputView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
    _tagsInputView.lookupTags = @[@"ios", @"iphone", @"objective-c", @"development", @"cocoa", @"xcode", @"icloud"];
    _tagsInputView.selectedTags = [NSMutableArray array];// this will cause the bug
    _tagsInputView.enableTagsLookup = YES;
}