We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48b4972 commit 920cec1Copy full SHA for 920cec1
README.md
@@ -185,6 +185,17 @@ Expandable button events are triggered automatically when the user ends the swip
185
@property (nonatomic, assign) CGFloat threshold;
186
@end
187
```
188
+### Rounded corners and swipe buttons
189
+MGSwipeTableCell supports rounded corners. Example:
190
+
191
+```objc
192
+cell.layer.cornerRadius = 50
193
+cell.backgroundColor = UIColor.gray
194
+cell.clipsToBounds = true
195
+cell.swipeBackgroundColor = UIColor.gray
196
+```
197
+<p align="center"><img src="https://github.com/MortimerGoro/MGSwipeTableCell/blob/master/readme-assets/RoundTableViewCell.png" width="30%" /></p>
198
199
200
## License
201
readme-assets/RoundTableViewCell.png
89.7 KB
0 commit comments