Post

Replies

Boosts

Views

Activity

How can I customize the selection state of my UICollectionViewCell subclass?
Hello everyone, I have a question about collection view. I want to add selection animation like when I press cell, background should change color to gray in my custom collection view cell. I tried some solutions but I couldn't achieve that. I override of isSelected function, when I clicked the cell background, it change him color but when I pull my finger, it still waiting same background color. The thing I want that is when I pull my finger on to cell, background should be look like old version. What kind of solutions I should try it for this thing, I checked internet but I could not find right solution for me. Thank you
2
0
599
Jan ’23
How can I customize the selection state of my UICollectionViewCell subclass?
Hello everyone, I have a question about collection view. I want to add selection animation like when I press cell, background should change color to gray in my custom collection view cell. I tried some solutions but I couldn't achieve that. I override of isSelected function, when I clicked the cell background, it change him color but when I pull my finger, it still waiting same background color. The thing I want that is when I pull my finger on to cell, background should be look like old version. What kind of solutions I should try it for this thing, I checked internet but I could not find right solution for me. Thank you
Replies
2
Boosts
0
Views
599
Activity
Jan ’23
Taking user speed
Hello everyone, I wanna take user speed in km. How can I take ?
Replies
0
Boosts
0
Views
785
Activity
Jun ’22
Using button in custom cell from another ViewController
Hello everyone, I created button in my custom cell, when the user click the that button, I have to segue another class and also I have to pass some data but problem is I could not segue in custom cell, so how can I detect when user tap that button ? or how can I solve this problem
Replies
2
Boosts
0
Views
811
Activity
Mar ’22
UIButton background not change
Hello everyone, when I change the button background in storyboard after that I start my emulator and then in emulator my button's background doesnt change until I click that button
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
396
Activity
Jan ’22