This file contains 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 UIKit | |
import Foundation | |
import XCPlayground | |
/** A ViewController with a blurView in the middle.*/ | |
public class BlurVC: UIViewController { | |
//properties | |
/** Used by BlurVCPageController to identify the index of the viewMaker for this BlurVC. (read-only)*/ | |
private(set) var indexInPageController: Int? | |
/** The inset rounded rect with a UIBlurEffect in which the page's content should be drawn. */ |
This file contains 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
//: [Previous](@previous) | |
import Foundation | |
import XCPlayground | |
import UIKit | |
let liveVC = UIViewController() | |
XCPlaygroundPage.currentPage.liveView = liveVC | |
/** View specification protocol. Can be used to create a UIView that has the given specs.*/ | |
public protocol ViewSpec { |