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
How to access cells that will appear, before they appear?
I have a collection view, but cell that are not appearing in the screen i cannot access, 1...5 ok, and those at index parth row 6, 7, and they have to be scrolled to bee seen
func Action0(sender: UIButton!) {
for i in 0...7 {
if i != 0{
…

Josip Bogdan
- 578
- 1
- 5
- 15
0
votes
2 answers
How to design multiple full-screen prototype cells using xcode's interface builder?
My app needs to horizontally scroll/page between different full-screen "views" or cells, where different views or cells have different layouts. The underlying model suggests that a collection view suits well, since the different pages are all…

Justin Leonard
- 81
- 1
- 11
0
votes
2 answers
CollectionView fatal error: unexpectedly found nil while unwrapping an Optional value
I'm trying to add a collection view of some images within an array defined inside the view did load method. The app builds and runs fine but when I navigate to this specific section called "Portfolio" the app crashes giving me this in the…

Andy Leverenz
- 11
- 1
- 1
0
votes
1 answer
Collection View Layout Issue
I have used collection view to create the following layout:
I have set the size of the layout using sizeForItemAtIndexPath method of collection view and using flow layout but what I could achieve is:
I tried reducing the width and height but even…

Vinita
- 95
- 1
- 3
- 9
0
votes
2 answers
Call CollectionViewCell item from IBAction
I would like to add actions to a button in a toolbar I added to a collectionView.
The toolbar has 4 share buttons but some reason, I'm not able to call the collectionView items properly.
- (IBAction)share:(id)sender
{
NSIndexPath *newIndexPath =…

HalesEnchanted
- 615
- 2
- 9
- 20
0
votes
1 answer
UICollectionViewCell change position
By default, when you create a collection view , items are top and bottom margins are generated.
I want to move the cell position. (Center to bottom)
Is there any way to solve ?
- (CGSize)collectionView:(UICollectionView *)collectionView
…

realmasse
- 523
- 1
- 6
- 18
0
votes
1 answer
CollectionView issue ios swift
I am having problems when I do a ReloadData to a CollectionView.
The thing is that I have done a very small project in order to show you what's happening.
(The CollectionView will change the colour background of the cell number 2..but when you do a…

LPS
- 581
- 3
- 8
- 17
0
votes
1 answer
How can I remove line breaks between each childView when rendering a Marionette CollectionView?
In MarionetteJS, when creating a CollectionView, all the children are automatically separated by line breaks when rendered. I would like the children in a particular CollectionView that I have to be rendered in order without a line break added…

thisissami
- 15,445
- 16
- 47
- 74
0
votes
3 answers
ios swift get custom property from cell instance
i need to understand why my code not return the property correctly.
i work on UICollectionView
i have a custom cell class
class FileCollectionViewCell: UICollectionViewCell {
@IBOutlet weak var cellTitle: UILabel!
@IBOutlet weak var…

user2718075
- 333
- 2
- 4
- 15
0
votes
2 answers
Marionette js upgrade 1.x to 2.x breaks my dynamic JQuery UI tab control
After an upgrade from version 1.8.8 to 2.4.1 my dynamic tabs control broke. The new Marionette won't let me do something that the old Marionette would.
A JQuery UI tab control expects a certain UI structure. At the core, it essentially wants an…

Robert
- 828
- 2
- 13
- 28
0
votes
0 answers
Ember: Advanced D&D Interface Concept - how to add components or childviews based on dropped item
I'm currently developing an Ember App for combining magnetic ornaments ( pls. see screenshot link ).
http://s7.postimg.org/9k2nq75yj/question_edit.png
On the left the user selects a category and then has the ability to chose main parts ( the long…

Chris_ÆVIATOR.CC
- 11
- 3
0
votes
1 answer
setOnClickFillInIntent Error Handling
I have made an appWidget with a collection view. And in order to handle a click event on each view of the collection view, I used 'setPendingIntentTemplate' and 'setOnClickFillInIntent'. It is working fine in a normal case. It opens up the target…

juniano
- 354
- 4
- 13
0
votes
1 answer
Inject html between Marionette ItemViews inside a CollectionView
I have a collection view (MyCollView below), and want to (conditionally) inject html between the different itemViews (MyItemView below) without modifying MyItemView. I know there are lots of different options that CollectionViews can have, but…

rsteier
- 154
- 2
- 12
0
votes
1 answer
Get item by ID in a CollectionView
I'm writing a WPF application connected to a local Access database. In one of the application screens, one table data (named Service) is shown in individual textboxes, like a form, and the user can navigate through records, create new ones, delete,…

RodWall
- 149
- 1
- 9
0
votes
1 answer
How To Make All Cells Look The Same On All Devices
Oki so first this is what i want it to look like:
http://i.gyazo.com/e76bf129ee7ae96ce0e2d84baba8e9a8.png
But on different screens it looks like:
http://i.gyazo.com/c756202d83c773b285e00ad161a67266.png
My cells width and height are both 188 if that…

Ben Mason
- 5
- 4