- WWDC 2012 Session 405 — Modern Objective-C
- WWDC 2012 Session 413 — Migration to Modern Objective-C
- WWDC 2013 Session 228 — Hidden Gems in Cocoa and Cocoa Touch
- WWDC 2014 Session 402 — Introduction to Swift
- WWDC 2014 Session 403 — Intermediate Swift
- WWDC 2014 Session 404 — Advanced Swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Accelerate | |
import UIKit | |
public extension UIImage { | |
public func applyLightEffect() -> UIImage? { | |
return applyBlur(radius: 30, tintColor: UIColor(white: 1, alpha: 0.3)) | |
} | |
public func applyExtraLightEffect() -> UIImage? { | |
return applyBlur(radius: 20, tintColor: UIColor(white: 0.97, alpha: 0.82)) |