Skip to content

Commit

Permalink
Remove unused debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
yoavlt committed Aug 25, 2015
1 parent 68630b7 commit c303efb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Pod/Classes/CircularGradientLayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class CircularGradientLayer : CALayer {
override func drawInContext(ctx: CGContext!) {
var locations = CGMath.linSpace(0.0, to: 1.0, n: colors.count)
locations = locations.map { 1.0 - $0 * $0 }.reverse()
println(locations)
let gradients = CGGradientCreateWithColors(CGColorSpaceCreateDeviceRGB(), colors.map { $0.CGColor }, locations)
CGContextDrawRadialGradient(ctx, gradients, self.frame.center, CGFloat(0.0), self.frame.center, max(self.frame.width, self.frame.height), 10)
}
Expand Down
1 change: 0 additions & 1 deletion Pod/Classes/UIView+Grow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ extension UIView {

func growShadow(radius: CGFloat, growColor: UIColor, shininess: CGFloat) {
let origin = self.center.minus(self.frame.origin).minus(CGPoint(x: radius * shininess, y: radius * shininess))
println(origin)
let ovalRect = CGRect(origin: origin, size: CGSize(width: 2 * radius * shininess, height: 2 * radius * shininess))
let shadowPath = UIBezierPath(ovalInRect: ovalRect)
self.layer.shadowColor = growColor.CGColor
Expand Down

0 comments on commit c303efb

Please sign in to comment.