Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11206] iOS: Add support for UICollectionView

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusClosed
ResolutionWon't Do
Resolution Date2016-11-04T14:17:42.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsiOS
Labelslook1
ReporterDavide Cassenti
AssigneeUnknown
Created2012-09-28T12:12:21.000+0000
Updated2018-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

Comments

  1. Rafael Kellermann Streit 2012-10-13

    It would be awesome.
  2. Bert Grantges 2012-11-26

    definitely seconding this
  3. Mads Moller 2013-05-24

    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!
  4. Joseph Sachs 2013-09-22

    Just a note: In iOS 7, we can have custom navigation transitions between UICollectionViews. !http://i43.tinypic.com/2ex3ok3.jpg!
  5. Ingo Muschenetz 2014-01-16

    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.
  6. Rick Blalock 2014-08-05

    UICollectionView does not require auto-layout, fyi.
  7. Joseph Sachs 2014-08-05

    @Rick I think for device Orientation it does require it... not sure.
  8. Hazem Khaled 2016-02-23

    We really need this feature, specially we have auto layout now (if it required)
  9. Joseph Sachs 2016-02-23

    +1
  10. Bert Grantges 2016-02-24

    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
  11. Hans Knöchel 2016-04-24

    [~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.
  12. Nuno Costa 2016-06-29

    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/]
  13. Hans Knöchel 2016-09-01

    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 native UICollectionView 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!
  14. Carlos Henrique Zinato 2016-09-01

    +1 on it! nice work btw Nuno Costa
  15. Joseph Sachs 2016-09-01

    +1 on for the Hyperloop example for UICollectionView!!
  16. Hans Knöchel 2016-11-04

    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!
  17. Nuno Costa 2016-11-04

    *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!
  18. Nuno Costa 2016-11-04

    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!
  19. Lorenzo Piccinini 2017-10-20

    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
  20. Eric Merriman 2018-08-06

    Closing as "won't do". If this is in error, please reopen.

JSON Source