Skip to main content

All Questions

0 votes
1 answer
31 views

Using UICollectionViewCell with IBOutlet

I wonder if it is possible to use UICollectionViewCell with IBOutlet? As I always get this error *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'the cell ...
jac's user avatar
  • 161
0 votes
0 answers
32 views

[<UICollectionViewCell 0x14fd06a80> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key

I've been getting the error message "[<UICollectionViewCell 0x14fd06a80> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key" for an image attached to ...
Jobalisk's user avatar
  • 728
-1 votes
1 answer
73 views

prevent cell stacking in UIcollectionView

I've been working on a collection game using apple maps in Objective C. Each item you collect appears in a uicollectionview. it works perfectly fine until you get around 15 or so and have to start ...
Jobalisk's user avatar
  • 728
-1 votes
2 answers
323 views

Correctly create uicollection view in iOS using Objective C

I've been trying to get a collection view working properly in iOS. I've been following this question: how to create custom UICollectionViewCell I think I have most of it correct, I'm using the ...
Jobalisk's user avatar
  • 728
0 votes
0 answers
144 views

objc - How to disable the present view bounces

I use the following code to present an NavigationController GridMenuViewController* vc = [[UIStoryboard storyboardWithName:@"Main" bundle:nil] instantiateViewControllerWithIdentifier:@"...
Satoshi's user avatar
  • 13
-1 votes
1 answer
255 views

Objective C - UICollectionViewListCell Add swipe to delete

Trying to implement "Swipe to Delete" API for UICollectionViewListCell. I'm writing in Objective-C the compiler is not auto-completing the code. Any reasons? example code? Swift example: ...
Ofir Malachi's user avatar
  • 1,286
0 votes
1 answer
144 views

UICollectionViewCell memory leak when user click image loading all images(150) in slide objective c

Basically I want to display images in slide which are coming from server. it works for maximum 10 images. And I am displaying them in UICollectionView with Cell but when I click folder that has 100 +...
STARK's user avatar
  • 1
-1 votes
1 answer
79 views

Avoiding UICollectionViewCell re-selection during reuse (from cell's prepareForResue) 'apparently' deselects the original cell as well

In my collection view when (custom) cells are reused they, again, get the highlight I have set in didSelectItemAtIndexPath for the original selection. To prevent this, I am using the custom cell's ...
AceN's user avatar
  • 791
7 votes
0 answers
1k views

UICollectionView reload() issue with Focus state got out of sync in tvOS 15.4 and above

In my application I have a ViewController, In that view controller I have two CollectionViews - CollectionViewA and CollectionViewB in vertically format. And basically I have a design like calendar. ...
Chandru's user avatar
  • 71
0 votes
1 answer
52 views

UICollectionView : Cells do not appear/populate

I need some help with a uicollectionview that I've been trying to implement in Objective-C/xcode: I am unable to have the cells appear/populate the collectionview (CV). Currently I am using the ...
Billy Mack's user avatar
0 votes
0 answers
73 views

How to create a collection view with images that change size on scroll

I want to implement an horizontal collection view displaying images that increases the size of the images with a smooth animation as they approach the center and reduces their size as they move away. ...
Mig70's user avatar
  • 61
0 votes
1 answer
1k views

Objective-C Hashable object for Diffable Data Source

I am trying to implement a collection view with a diffable data source in Objective-C. I know for Swift, the generic types for UICollectionViewDiffableDataSource are types that conform to both the ...
ashipma's user avatar
  • 475
0 votes
1 answer
335 views

Radio Button Not Working In ColectionView Cell , If I select One Button another Buttons aren't Deselecting

This Is My Struct For Image and is Image selected Or Not. struct TeamSelected { var logoImage: String var isImageSelected: Bool } This is variable for checking selection var selection = Set<Int>...
iFateh's user avatar
  • 597
0 votes
1 answer
443 views

UICollectionView: Apply dynamic width for each cell according to UIButton's text width

I know there is a lot similar topics about this problem. Although, I have tried them out first without solving my problem. As below screenshot showed, I try to apply a horizontal scroll view with ...
Zhou Haibo's user avatar
  • 2,098
0 votes
1 answer
77 views

collectionviews in tableview selection

i added my UICollectionView to the UITableViewCell (objective c), and the data is showing correctly in the collectionviews inside the tableview, the selection in the same collectionview is working as ...
nano1254's user avatar

15 30 50 per page
1
2 3 4 5
193