popodidi / htagview Goto Github PK
View Code? Open in Web Editor NEWA customized tag view UI element for iOS development
License: MIT License
A customized tag view UI element for iOS development
License: MIT License
How do I disable the selection of a tag once it has reached a limit?
var selectedInterests = [Int]()
func tagView(_ tagView: HTagView, tagSelectionDidChange selectedIndices: [Int]) {
selectedInterests.removeAll()
for i in selectedIndices {
selectedInterests.append(i)
if selectedInterests.count > 3 {
print("limit reached")
}
}
}
能否添加单选功能?
I am facing the issue of app freeze because of tag view
I have multiple dynamic adjust view methods in my app and when tag view sets up the app got freeze
var delegate: HTagDelegate?
open var delegate : HTagViewDelegate?
delegate使用weak是否更合理?否则ViewController无法释放。
dataSource同理
im currently using
let topActionBarConstraint = NSLayoutConstraint(item: detailTextView, attribute: .top, relatedBy: .equal, toItem: self.topLayoutGuide, attribute: .bottom, multiplier: 1, constant: 16)
topActionBarConstraint.isActive = true
for contents under the navigation bar. Im not sure if your pod is able to sold this issue or have a shorter way of doing it.
how can set tegview in center mode ?
iPhone X, iOS 13.
It can't calculate the height on the iPhone X and newer, iOS 13.3. On iOS 12, with the same constraints perfectly working, on iPhone X on iOS 12 also. But with iOS 13, CPU percentage usage equals 99% and nothing working.
Are we going to get swift 4 updates for this library?
Can you please update pod version to swift 5 supportable ?
I need to shows tags in horizontal line. Any way of fixing its height and show it in horizontal scrolling? Thanks.!
It's not increasing contentview height
tho i have tried automaticdimension.
I am facing the app freeze issue in HTagView.
when i select or scroll the HTagView Data the app is freeze and after sometime it will crash app.
please check it as soon as possible.
Can I align the tags to the vertex instead of the left.
当title太长时,显示 “xxx...”
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.