Skip to content

Instantly share code, notes, and snippets.

View teytag's full-sized avatar

teytag teytag

View GitHub Profile
@emrahgunduz
emrahgunduz / Blur.swift
Created September 21, 2016 15:17
Playground example for working UIBlurEffect and UIVisualEffectView masking on iOS10 using Swift 3
import UIKit
import PlaygroundSupport
let generalFrame = CGRect(x: 0, y: 0, width: 500, height: 500)
let containerView = UIView(frame: generalFrame)
containerView.backgroundColor = UIColor.black;
PlaygroundPage.current.liveView = containerView
let parentView = UIView(frame: generalFrame)