Giter Site home page Giter Site logo

htagview's People

Contributors

popodidi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

htagview's Issues

Add shadow to tags?

I almost use this library in my every projects. Now I need to give to shadow to all the tags I tried in your library but got no luck. Here is screenshot pf actually what I want.

Screenshot 2019-03-19 at 7 05 00 PM

App freeze on iOS 13.x

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

Cancel button Hide

How to hide Cancel button? In your sample, tagView1 is showing 1 cancel button and tagView2 showing 4 cancel button.
How can i manage this? I have to show in one view without cancel button but second view should all tag have cancel button.

image

Please guide.
Thanks

How can we make it centre aligned ?

If we have multiples tags and in multiples line then and another tag moves to new line then we need to make it centre aligned. Follow the attached image.
IMG_C5C6B03980DB-1

do you have support for navigation bar

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.

delegate使用weak是否更合理?

var delegate: HTagDelegate?

open var delegate : HTagViewDelegate?

delegate使用weak是否更合理?否则ViewController无法释放。

dataSource同理

Disable selection once limit has been reached

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")
        }
    }
}

Two line tag

How to set two line text if tag text is too long? For now it is cut at the end. I want it to wrap by word in the end of tag. I change in htagview tag but it is not working. Thanks

screen shot 2017-02-07 at 11 10 45 am

App freeze on selection/scroll and then crash

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.

Fix height?

I need to shows tags in horizontal line. Any way of fixing its height and show it in horizontal scrolling? Thanks.!

Height calculating iPhone X issue.

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.

Swift 5 support

Can you please update pod version to swift 5 supportable ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.