Skip to content

A Reuse Identifier Macro that is useful in generation of a reuse id for your UICollectionViewCells and UITableViewCells

License

Notifications You must be signed in to change notification settings

collisionspace/ReuseIdentifierMacro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReuseIdentifierMacro

A Reuse Identifier Macro that is useful in generation of a reuse id for your UICollectionViewCells and UITableViewCells

To use within your projects, you'll need SPM and import this package in.

Example usage within your project

import ReuseIdentifier

@ReuseIdentifier
class CarouselCollectionViewCell: UICollectionViewCell {}

collectionView.register(
    CarouselCollectionViewCell.self,
    forCellWithReuseIdentifier: CarouselCollectionViewCell.reuseIdentifier
)

About

A Reuse Identifier Macro that is useful in generation of a reuse id for your UICollectionViewCells and UITableViewCells

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages