Skip to content

Instantly share code, notes, and snippets.

View tarang9211's full-sized avatar
🦖
Focusing

Tarang Hirani tarang9211

🦖
Focusing
View GitHub Profile
@tarang9211
tarang9211 / CurvedUIView.swift
Created May 28, 2019 19:01 — forked from anitaa1990/CurvedUIView.swift
A Swift extension of UIView to display a curved view
import UIKit
extension UIView {
/* Usage Example
* bgView.addBottomRoundedEdge(desiredCurve: 1.5)
*/
func addBottomRoundedEdge(desiredCurve: CGFloat?) {