Skip to content

Instantly share code, notes, and snippets.

🐢
Focusing

Tarang Hirani tarang9211

🐢
Focusing
View GitHub Profile
@anitaa1990
anitaa1990 / CurvedUIView.swift
Last active May 27, 2020
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?) {
You can’t perform that action at this time.