[TIMOB-11206] iOS: Add support for UICollectionView
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Closed |
Resolution | Won't Do |
Resolution Date | 2016-11-04T14:17:42.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | look1 |
Reporter | Davide Cassenti |
Assignee | Unknown |
Created | 2012-09-28T12:12:21.000+0000 |
Updated | 2018-08-06T17:38:16.000+0000 |
Description
Please, add support for the new iOS 6 UICollectionView class, as described here:
https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UICollectionView_class/Reference/Reference.html
It would be awesome.
definitely seconding this
Hi guys, Please have a look at this: https://github.com/steipete/PSTCollectionView Its a 100% compatible version, meaning iOS5 could get support for UICollectionView as well. UICollectionView for iOS and GridView for android would be great new UI components!
Just a note: In iOS 7, we can have custom navigation transitions between UICollectionViews. !http://i43.tinypic.com/2ex3ok3.jpg!
All, we've been doing research into implementing this feature, but it does require us implementing Auto Layout. Currently, we are investigating that functionality for Ti.Next (TIMOB-14599). We will see if there is an alternate implementation possible, or the ability to do similar functionality with our existing infrastructure. In the meantime, someone might consider implementing a module utilizing https://github.com/steipete/PSTCollectionView as Mads suggested.
UICollectionView does not require auto-layout, fyi.
@Rick I think for device Orientation it does require it... not sure.
We really need this feature, specially we have auto layout now (if it required)
+1
As we look to add this API I would like to ensure that we look at it from a parity perspective with the inclusion of Android and Windows GridView classes as we can leverage Hyperloop now for one offs
[~bgrantges@appcelerator.com] We should setup a wiki for 6.0.0 on how the different platforms handle GridView's/CollectionViews's in order to design an API that can work cross-platform. Very interested in doing this with Hyperloop.
Since "autolayout" is now in Titanium right? The UICollectionView for ios and GridView/android should be a huge addition with Appc support. Community will appreciate for sure! The only Native-wise module out there is [https://github.com/mpociot/TiCollectionView] but very fast is out dated and not support "UI main thread" I have been try updating best as I can, but I'm not an ios/android guru, [https://github.com/nuno/TiCollectionView/commits/master] @Hans Knoechel any help with the module to work with "UI main thread" is great! :) I Still prefer Appc native one! P.S. Have you guys seen the What's New in UICollectionView in iOS 10? wow!! [ https://developer.apple.com/videos/play/wwdc2016/219/]
Quick update here: If you have Hyperloop and want to use the
UICollectionView
API today, please check out [this example](https://github.com/appcelerator/hyperloop-examples/blob/master/app/controllers/ios/collectionview.js) in our Hyperloop Sample app that uses a nativeUICollectionView
to display a threee-columned grid of 50 colors. It can easily be modularized (maybe something for loopmodules, [~rdperottoni] :-) and then be used across multiple projects. Thanks!+1 on it! nice work btw Nuno Costa
+1 on for the Hyperloop example for UICollectionView!!
Resolving this ticket, as advised in the previous comments. Using the hyperloop example we gave, the full Collection View API can be used in Titanium applications. And for those who want to stick to a proxy-based solution that already has some predefined API's abstracted, you can stick to the [Ti.CollectionView](https://github.com/nuno/TiCollectionView) implemented by [~mpociot] and nowadays curated by [~nunocostapt] (great work guys!). Thanks!
*Important note.* The original work was done by *Marcel [ https://github.com/mpociot] * he passed the module to me for me continue his GREAT work, he had not the time to continue! I will need all the help possible to keep that module great!
There are some memory leaks that we can't resolve yet, on issue tracker, all the helps is welcome! [TiCollectionView](https://github.com/nuno/TiCollectionView) Thanks!
https://github.com/nuno/TiCollectionView module works so good in iOS but there is little bug in android version and it doesn't works in Vanilla style project (Alloy version it seems works fine). Can someone try to solve it? I'm not able to do it. Best regards
Closing as "won't do". If this is in error, please reopen.