The Marionette CollectionView displays a Backbone collection object by rendering each objects through the specified childView View object.
Questions tagged [collectionview]
1294 questions
-2
votes
1 answer
add core data image to collection view cell
I have a collection view. I want to fill each cell with the images that are stored in the apps core data. However the cells only fill with the last image that was taken.
not each individual cell benign filled with each individual image.
my code is…

kitchen800
- 197
- 1
- 12
- 36
-2
votes
1 answer
Which pattern is used to make the app look like
I am newbie in iOS development and making a app in swift. But I am confused what to use in the design to make look like it. Should I use table view or collection view.
I have attached the screenshot for same.

Swapanjeet
- 21
- 2
- 7
-2
votes
1 answer
loading information from rest service into collectionview upon login using xamarin
The app starts up with a button that tells the user to login. Upon valid login credentials (as confirmed by a rest API), I want to load information from another rest API call into a collectionview. I already stored the deconstructed json strings…

Third
- 21
- 6
-2
votes
1 answer
How to change the size of a collection view cell after adding content to that cell
I have successfully made the first collection view cells change in size as I add more cells to the second collection view. Now I need the space between the first collection view cells to be consistent

PySharp
- 11
- 2
-2
votes
1 answer
I want create this Sliding UIVies in xcode using swift, what sholud i used ? an collecntionView or TableView?
i want to create an exact screen in my ios application with xcode & swift im not able to create it, what shall i used? an collectionView or ScroolView?
import UIKit
class ViewController:…

Anuj
- 111
- 2
- 7
-2
votes
2 answers
What's an ideal way to load/clear data to UICollectionView from Bundle.main?
I have about 100 GIFs in the main bundle. I'm loading everything during viewDidLoad() in an array. This array is the datasource for the UICollectionView. The problem is that these GIFs are taking a lot of memory which is causing slowness and lead to…

TyrantBoy
- 67
- 1
- 6
-2
votes
1 answer
CollectionView Cell spacing
After using my old way of using collectionView I'm using now Apple code snippet for collectionView. The problem is that I can't implement my code for Cells spacing and that exact 3 cells for example should be in a row.
Here's my old code for cell…

SwiftyLifestyle
- 416
- 5
- 17
-2
votes
1 answer
swift CollectionView inside TableView Cell
Why am I scroll first cell then third cell also scrolling?
Screen Record

Kenny
- 39
- 1
- 5
-2
votes
2 answers
How can I resize the cells in a collection view dependent on the device screen size?
I'm working in Swift and I want my cells to look similar to how it does on this picture on an iPhone 8 plus
But when I load it on a iPad, the size of the cells do not adjust to the screen size. It looks like this:
Does anyone know how I can do…

Tessa
- 403
- 1
- 5
- 13
-2
votes
1 answer
Accessing parent view buttons in container view controller
I have a collection view controller inside of a container view and buttons on the parent view - I need my container view to be able to access the button outlets from my parent view so that I can detect when buttons are clicked in order modify my…

bloop
- 9
- 4
-2
votes
1 answer
Hot to get index path for existing object in collection view
I got an array with objects, and populate the collection view with them. For example I have 3 objects inside my collection view. Is there a way, to receive the current index path based on the object name?
Thanks

Antonio K
- 144
- 11
-2
votes
1 answer
how to pass multiple images which seperated by commas to collection view using swift
Hi am developing a app using swift 2.2 am getting a data from the server in that data am getting multiple images which is seperated by commas eg..,
{
"success": 1,
"error": 0,
"message": [{
"title": "aver monitor",
…

user7333282
- 101
- 1
- 2
- 15
-2
votes
1 answer
UICollectionView must be initialized with a non-nil layout parameter even after initialized in ViewDidLoad
I tried to do what all the other questions seem to do, but I still get the error. Maybe I'm missing something obvious but I looked over the documentation and all it seems is you need a layout to initialize.
let flowLayout =…

TrickSpades
- 62
- 1
- 10
-3
votes
1 answer
Is sorting using CollectionView performance efficient?
I have a ICollectionView which serves as an input source for a WPF ListView. The number of items (text messages) in the CollectionView could be upto 10 thousands. I want to add a sorting creiteria to the collection view based on the TimeStamp. The…

skm
- 5,015
- 8
- 43
- 104
-3
votes
1 answer
Add Grid to ItemTemplate in Xamarin.Forms
In a Xamarin Forms(MAUI) project I would like to add a Grid with some prices inside another Grid placed in a CollectionView
The Grid is like below and I have created a function which returns a Grid. This works fine in an ordinary stacklayout : …

user2435866
- 51
- 9