kuler90 / rktagsview Goto Github PK
View Code? Open in Web Editor NEWHighly customizable iOS tags view [input, edit, dynamic, tag, token, field, NSTokenField]
License: MIT License
Highly customizable iOS tags view [input, edit, dynamic, tag, token, field, NSTokenField]
License: MIT License
Hi Roman,
How to update tagsViewHeight.constant if tagsView inside contentview of UITableViewCell?
I've tried update tagsViewHeight.constant in tagsViewContentSizeDidChange function, but still not working.
Thanks
Is there a way to add spaces like "firsName lastName
" rather than every time I press 'space' it adds a new tag?
When using Chinese, unselected Chinese characters are automatically segmented into Tags
Hi, I'm new at iOS programming. I install your cool library. And I have a question about tag only specific words in textfield. I have user tags in my app. And I need tag only user tags word when i typing post. Is it possible?
A guide to get started, would be great.
It took me some time to figure out that I needed at UIView in IB, not at UITextView.
How can I stop deselect of tag once it is selected.
Hi Roman,
Have you tried to use RKTagsView in TableViewController with Auto Layout? Unfortunately, it doesn't work as expected in my project. May be I've missed something:
- (void)viewDidLoad
{
...
self.tableView.rowHeight = UITableViewAutomaticDimension;
self.tableView.estimatedRowHeight = 44.0;
...
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
...
cell.tagsViewHeightConstraint.priority = 1;
[cell.tags addTag:@"tag"];
[cell layoutIfNeeded];
...
}
Hello, is there a way to disable scrolling?
I want to searchable on textfield of RKTagsView to show list suggestion, after selecting a item from list, the item will add to RKTagsView.
How to implement above scenario? Thanks for advance help.
Is there anyone beside me having issues on Xcode 8 (ios9 or ios10)? I have placed RKTagsView inside of tableView cells and it was working like charm before ios10 and Xcode 8. After updating to Xcode 8, when i tap RKTagsView nothing happens.
I tried it with Xcode 8 simulator on ios 9 ios 10 and on real device(ios 10) but it doesn't respond. Sometimes it works after i tap other textfields than tap it but it never responds if i first tap it. I have checked if it is in subviews of cells and yes it is.
Does anyone have any suggestions?
How can this be done?
Does it have a swift version, or can you guide me on how to use this in a Swift project.
Great job first of all.
I need use it in a different way. Is it possible to make some tags selectable and the rest not.?
Hello! I tried a lot of things, but maybe you can give me a clue how to fix it. I stopped here:
`
func tagsView(_ tagsView: RKTagsView, buttonForTagAt index: Int) -> UIButton {
let tagButton = UIButton()
tagButton.isSelected = false
tagButton.isUserInteractionEnabled = false
tagButton.titleLabel?.font = UIFont(name: "Circe-Regular", size: 12)
tagButton.tintColor = UIColor.black.withAlphaComponent(0.25)
tagButton.titleLabel?.lineBreakMode = .byTruncatingTail
tagButton.setTitle(tagsView.tags[index], for: .normal)
tagButton.titleLabel?.textColor = UIColor.white.withAlphaComponent(0.8)
tagButton.backgroundColor = UIColor.black.withAlphaComponent(0.25)
tagButton.setTitleColor(UIColor.white.withAlphaComponent(0.8), for: .normal)
tagButton.sizeToFit()
tagButton.contentEdgeInsets = UIEdgeInsetsMake(2, 6, 2, 6)
tagButton.titleEdgeInsets = UIEdgeInsetsMake(2, 2, 2, 2)
tagButton.clipsToBounds = false
tagButton.titleLabel?.clipsToBounds = false
tagButton.isExclusiveTouch = false
tagButton.frame.size.height = 24
tagButton.layer.cornerRadius = 8
return tagButton
}
`
How to scroll to selected button after selectTag(at: index) call?
When i input chinese "你好", the inputTextField receive text "ni ham", then i will get two tags "ni" "ham" instead of "你好".
If i input a lot of char, i will get tons of tags.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.