How can I skip the first cell in a NSCollectionView?

62 Views Asked by At

How can NSCollectionView items begin at the second cell and leave the first cell empty? (View Example)

1

There are 1 best solutions below

0
Rafael Francisco On

Ugly easy way:

Just disable user interaction in the first cell and hide it.

view.isHidden = true
view.isUserInteractionEnabled = false

Correct way:

Register a new invisible cell class with the NSCollectionView and return in just on the first row.