Giter Site home page Giter Site logo

collectionpickerview's Introduction

Tom's GitHub stats
Tom's GitHub streak

collectionpickerview's People

Contributors

3ph avatar aalokparikh avatar duffpod 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

Watchers

 avatar  avatar  avatar  avatar

collectionpickerview's Issues

pickerView.cellSpacing does nothing

In the example (and my own implementation), changing
pickerView.cellSpacing = 10
to
pickerView.cellSpacing = 100

doesn't make any difference. The cells are still zero pixels between each other

[feature request] Configure position of selected item

The component is awesome as it is but I was wondering how hard would it be to extend it so that the position of selected item could be configurable (left / center / right)

for example: Selected position: .left

image

Thanks!

Multiple CollectionPickerViews: Thread 1: signal SIGABRT

I have a custom cell called PillCell. When trying to have two CollectionPickerViews at the same time I get an SIGABRT Error.

        bodyPartPicker.dataSource = self
        bodyPartPicker.delegate = self
        bodyPartPicker.collectionView.register(PillCell.self, forCellWithReuseIdentifier: "body")
        
        typePicker.dataSource = self
        typePicker.delegate = self
        typePicker.collectionView.register(PillCell.self, forCellWithReuseIdentifier: "type")

however, using a standard collectionview works perfectly

        coll1.dataSource = self
        coll1.delegate = self
        coll1.register(PillCell.self, forCellWithReuseIdentifier: "one")

        coll2.dataSource = self
        coll2.delegate = self
        coll2.register(PillCell.self, forCellWithReuseIdentifier: "two")

So my guess is there's a bug here somewhere

Alignment isn't always centered

Hello,
I was just trying out your control! Nice work!
I just noticed that the alignment isn't always correct. So when running you sample f.e. and just dragging everything to the right, there's strange jumping around.

I was just wondering if you have already fixed that?

Cheers,
Geogr

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.