Skip to content

Instantly share code, notes, and snippets.

Avatar
🐢
Focusing

Tarang Hirani tarang9211

🐢
Focusing
View GitHub Profile
@anitaa1990
anitaa1990 / CurvedUIView.swift
Last active Apr 12, 2021
A Swift extension of UIView to display a curved view
View CurvedUIView.swift
import UIKit
extension UIView {
/* Usage Example
* bgView.addBottomRoundedEdge(desiredCurve: 1.5)
*/
func addBottomRoundedEdge(desiredCurve: CGFloat?) {