Skip to content

Instantly share code, notes, and snippets.

Avatar
🐢
Focusing

Tarang Hirani tarang9211

🐢
Focusing
View GitHub Profile
@tarang9211
tarang9211 / CurvedUIView.swift
Created May 28, 2019 — forked from anitaa1990/CurvedUIView.swift
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?) {