3ph / collectionpickerview Goto Github PK
View Code? Open in Web Editor NEWA generic customizable picker view based on UICollectionView.
License: MIT License
A generic customizable picker view based on UICollectionView.
License: MIT License
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
Having an array with 200 items takes around 1 minute before rendering the view to the users, what could have been the cause of this?
e.g let itemList = Array(1...200)
Is it possible to have infinite looping items? I've tried combining with InfiniteLayout but I failed :(
also check my issue
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
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
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.