skip to Main Content

Ios swift – How to set correct tintColor with selected but not focused UICellAccessory.customView

In a UICollectionView within a UISplitViewController layout, I have a UICollectionView.CellRegistration that shows under certain conditions a warning badge as UICellAccessory. This warning badge accessory is based on the following code: func warningBadge(cell: UICollectionViewListCell) -> UICellAccessory { return UICellAccessory.customView(configuration: .init(customView:…

VIEW QUESTION

Ios swift – Collectionview Card Layout

Here is a screenshot of what I want to achieve: I need this type of collection view layout for card cells (with leading and trailing edging displays). import UIKit class ViewController: UIViewController { @IBOutlet weak var colList : UICollectionView! var…

VIEW QUESTION
Back To Top
Search