Skip to content

Easy create custom design cell#273

Open
Econa77 wants to merge 3 commits into
WenchaoD:masterfrom
Econa77:feature/essy-custom-cell
Open

Easy create custom design cell#273
Econa77 wants to merge 3 commits into
WenchaoD:masterfrom
Econa77:feature/essy-custom-cell

Conversation

@Econa77
Copy link
Copy Markdown

@Econa77 Econa77 commented Mar 18, 2020

Now a subclass of FSPagerViewCell is required to create a custom cell.
However, FSPagerViewCell has a design that is unnecessary for customization such as adding shadows.
ref:

self.contentView.layer.shadowColor = UIColor.black.cgColor
self.contentView.layer.shadowRadius = 5
self.contentView.layer.shadowOpacity = 0.75
self.contentView.layer.shadowOffset = .zero

Also, there is no place in this library that uses the properties in FSPagerViewCell.
Therefore, make use of the standard UICollectionViewCell.

@Econa77 Econa77 force-pushed the feature/essy-custom-cell branch from 9f7d65e to a7d0706 Compare December 1, 2020 14:53
@JegaJegatheesh
Copy link
Copy Markdown

can you share demo code. I'm new to iOS development. Thanks in advance

@Econa77
Copy link
Copy Markdown
Author

Econa77 commented Jan 9, 2021

@JegaJegatheesh Open this project with Xcode 12 or above 👍
https://github.com/Econa77/FSPagerViewCustomDesign

@JegaJegatheesh
Copy link
Copy Markdown

Thank you sir

@Econa77 Econa77 force-pushed the feature/essy-custom-cell branch from a7d0706 to fca3545 Compare January 27, 2022 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants