See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
// UIImage+Utils.swift | |
// This is just one way to do this. | |
public func croppedToCircle() -> UIImage { | |
// Begin a new image that will be the new image with the rounded corners | |
UIGraphicsBeginImageContextWithOptions(size, false, scale) | |
let circleWidth = size.width | |
let radius = circleWidth / 2 | |