Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

无法使用Swift创建的UICollectionViewCell #59

Open
SPXS opened this issue Apr 21, 2023 · 0 comments
Open

无法使用Swift创建的UICollectionViewCell #59

SPXS opened this issue Apr 21, 2023 · 0 comments

Comments

@SPXS
Copy link

SPXS commented Apr 21, 2023

问题代码:
param.wMyCellClassNames = "MyCell"
在使用Swift创建的UICollectionViewCell会报错, reason: 'could not dequeue a view of kind: UICollectionElementKindCell with identifier ypwtql.MyCell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant