iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I want to bind a list of model objects to a UICollectionView in iOS. How can I do this?
Dear Pedro,
Binding data to UICollectionView can be done similarly to UITableView. If you can get your data to show in a table view, then you can present it with a collection view without any additional code changes. This is how we designed Crosslight to be. One shared UI logic, multiple different presentation.
We demonstrate this capability in our highly popular Inventory sample which you can download from our Git server here. If you run the sample in iPhone, the data is presented in a table view. Try to run the sample in iPad simulator, notice how the presentation changed to a collection view without code changes.
In the simplest implementation, you will simply need to create a view controller that derive from our UICollectionViewController, then configure the settings as needed. For more information about Crosslight's collection view, see iOS Collection View.
Hope this helps.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname