The Marionette CollectionView displays a Backbone collection object by rendering each objects through the specified childView View object.
Questions tagged [collectionview]
1294 questions
0
votes
0 answers
How do you add another collectionView on CollectionViewController?
It covers up the whole collectionViewController everytime I put the collectionView
This is what I'm trying to make, another collectionView that I can scroll horizontally.
How do you do that? Thanks in advance.

HungryCoder
- 1
- 4
0
votes
0 answers
Collectionviewcell only showing in one of the tab item
I have my storyboard set up such that
Tab bar controller -> nav bar controller 1, nav bar controller 2 -> CollectionView controller 1, CollectionView controller 2
The content inside my collectionviews are basically database i get from firebase…

David kim
- 21
- 3
0
votes
1 answer
Offset for content of the collection view cells
How to make content offset of collection view cell. Code below what do I have but It doesn't work for some reason:
override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
…

wm.p1us
- 2,019
- 2
- 27
- 38
0
votes
1 answer
Swift CollectionView Vertical Paging
I enabled paging on my collectionview and encountered the first issue of each swipe not stopping on a different cell, but page.
I then tried to enter code and handle the paging manually in ScrollViewWillEndDecelerating.
However my problem is the…

mparrish91
- 101
- 3
- 11
0
votes
2 answers
How to set offset for the first element of UICollectionView
I want to set offset offset for the first element of collectionView, so the first cell will apear in the center of the collectionView.

passingnil
- 403
- 1
- 5
- 14
0
votes
1 answer
Pass image from collectionview to VC
I've tried a lot of methods i couldn't get it to work
ViewController 1 have : Collectionview > Cell > image inside the cell
ViewController 2 want to display the image which in VC 1
When you click on cell it has segue to push you to VC 2
override…

Salah
- 933
- 3
- 13
- 32
0
votes
1 answer
CollectionView: scrollToItem, reloadData, and Dispatch Queues
Good afternoon all,
I'm encountering a frustrating bug regarding a chatting application tutorial I've been following, and would like to remedy (the tutorial doesn't address this problem since I have converted to Swift 3 / Xcode8). Let me try to…

iMoment
- 243
- 1
- 4
- 14
0
votes
0 answers
Removing objects from memory in CollectionView - Swift
I have a serious problem that I can not solve.
I have a collection view where I load images from iCloud Drive.
I use the following code to load images into an image array:
func test() {
for index in 0..<(note?.content?.count)! {
…

Selonath
- 23
- 3
0
votes
0 answers
Auto Layout Issue with UICollectionView and iPhone 5
I have a uicollectionview with cells that contain an image view laid out using constraints, but I have a problem.
If I execute the code on an iPhone 6(or major) I see the collection view fine, but on an iPhone 5 I don't see the images.
iPhone 6…

alexander
- 149
- 1
- 2
- 14
0
votes
2 answers
CollectionView does not contain CollectionViewCell
I am using Xcode7.3.1 . I added CollectionView from object library to xib file then i can’t find CollectionViewCell under CollectionView.Here attached the screenshot.This screenshot displays CollectionView only contain…

IKKA
- 6,297
- 7
- 50
- 88
0
votes
1 answer
UICollectionViewLayout with horizontal and vertical pagination
as title says I need a uicollectionview which is able to paginate in both directions as shown in the image.
Each square is the ios screen and the arrows indicate where pagination is allowed. UICollectionViewFlowLayout allows only scrolling and…

mikkelam
- 517
- 1
- 7
- 15
0
votes
1 answer
Tap CollectionView Cell button to play sound from specific array and copy movie from specific array
Using Swift 3
I have set up a collectionView with 7 sections - when user taps a cell(button) a specific sound will play from an array of sounds.
So how do I split up the sections in the collectionView to match a specific array of sounds?
for…

Guy de Bromhead
- 31
- 4
0
votes
1 answer
CollectionsView choppy performance when loading images from a URL from Firebase
There seems to be choppy performance when loading images from Firebase and then populating it into the cells. I figure it could be because the images are not cached.
This is located in the function to gather URL from the returned search results…

Ler Ws
- 317
- 5
- 17
0
votes
3 answers
Swift prepare for segue - Send data from one view controller to another
I want to move from one view controller to another and send userId:
func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {
self.performSegueWithIdentifier("chosenPerson", sender:…

Denis Windover
- 445
- 2
- 6
- 20
0
votes
1 answer
CollectionView sort collection with more data types
I have an underlying ObservableCollection called "Items" which can hold instances of two types (peopleVM, messageVM) via its abstract parent. How to apply a different sort description for each type?
This is my CollectionViewSource:
var cvs =…

Lukáš Koten
- 1,191
- 10
- 22