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
1 answer
collectionView, didSelectItemAtIndexPath some issue
i want to push next controller,but unsuccess.what should i do?
-(void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath
{
UICollectionViewCell *cell = [collectionView…

runsheng0324
- 13
- 2
0
votes
1 answer
How to call delegate methods of CollectionView inside TableView in Objective C?
TableViewCell Class
- (void)awakeFromNib {
//Registering CollectionViewCell
}
- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView {
return 1;
}
- (NSInteger)collectionView:(UICollectionView *)collectionView…

Champz
- 11
- 3
0
votes
1 answer
Could not cast value of type 'UIViewController' to UITableViewController
I'm trying to segue from one view controller to another, and pass data to the next controller, but I keep getting this error:
Could not cast value of type ViewController to [VC2]
Setup looks like this:
NavigationController is initial entry point…

mvien
- 237
- 4
- 12
0
votes
0 answers
collection view cells visibly resize when being displayed the first time
i have a collectionView which works very well except for one odd feature. When the view with the collectionView first appears, the collectionView cells seem to all briefly transform to the correct size. It looks like they are animating their size…

alionthego
- 8,508
- 9
- 52
- 125
0
votes
1 answer
collection view paging customized
I used two collection views and they are connected to each other for scrolling. if one scroll the other one will scroll too.
this is handling in my didScroll delegate function as below:
func collectionView(collectionView: UICollectionView,…

Maryam Fekri
- 605
- 8
- 19
0
votes
1 answer
passing data from parse collection view to new view
Im looking to pass data from a collection view i have pulling data from parse to a new view. In the collection view i have it displaying a label called productName and an image called productImage. I'm looking to pass the Name, Image and a text view…

Tom F
- 361
- 1
- 3
- 7
0
votes
2 answers
UICollectionView Lag
I have a paging UICollectionView that scrolls through images. Each image fills the screen. For regular photos, my collectionView scrolls fluently but with panoramic shots, it begins to lag as I scroll through the images.
- (UICollectionViewCell…

Peter
- 1,053
- 13
- 29
0
votes
2 answers
Initializing a Collection View with a XIB -- "layout object must be non-nill"
I have seen a similar question asked here about creating collection views programmatically but not with IB or nibs or xibs or whatever I am supposed to call it.
Its my understanding that when using a XIB the objects inside the XIB get instantiated…

Alexander Bollbach
- 649
- 6
- 20
0
votes
1 answer
Collection View in Objective C -- unknown error
I am following this tutorial. It has me using Nibs/Xibs(?) as opposed to storyboards or a programmatic approach. I have followed the tutorial up until the first build but instead of properly compiling I get a message in the console and instead of…

Alexander Bollbach
- 649
- 6
- 20
0
votes
2 answers
How to add two items at a specific index in an entity in CoreData in Swift
I am moving rows inside a collectionView, I have no sorting on the data so all new cells are inserted at the end of the table, but when I move a cell I want to specifically select the index where it should be moved inside the entity in core data,…

Victor --------
- 512
- 1
- 11
- 29
0
votes
1 answer
Change image in collectionView to match purchased items held in an Array
I have an array of NSNumbers which I would like to use to change the image of a UICollectionView cell if each of those numbers is equal to the indexPath row of the collectionView.
I'm aware that I can use:
if [indexPath row] == 5 {
self.myImage =…

Slarty Bartfast
- 635
- 7
- 13
0
votes
0 answers
Collectionview cell height from label height swift
I'm trying to create a collection view that can be resized automatically from label height. I have two different cell, one of them with photo another without photo and both in xib files.
I've tried different ways to make this height dynamic but no…

orazz
- 2,178
- 2
- 15
- 16
0
votes
1 answer
first tap not registering on collectionView Xcode
I have a collectionView with an array populating it. I have it set up that when a cell is tapped a second modal view is presented. The problem is that the first tap is not recognized. The collectionView in storyboard, along with the cell and the…

user1114881
- 731
- 1
- 12
- 25
0
votes
2 answers
swift 1.2 collection view
I've got this simple code to control Collection view, but it doesn't show any cells. The app works, but it's blank. The identifier match with cell identifier and the class is attached to the collection view.
I think the problem is with upcast: as!…

redike
- 15
- 2
- 6
0
votes
1 answer
Collection View Button Action (Cocoa, Xcode)
In XIB file I have a collection view which contains a button. In awake from Nib i have defined several of buttons with different images. So the application basically looks like a finder, but does not perform any actions yet.
What I want to do now,…

ShaunArchibald
- 59
- 8