Skip to content

Instantly share code, notes, and snippets.

@PiersonBro
PiersonBro / OptOut.swift
Last active August 29, 2015 14:06
Opting Out Of 'Required' Initializers in Swift
import Foundation
import UIKit
class OptOut: UIView {
let magicConstant: Int
override init(frame: CGRect) {
magicConstant = 0
super.init(frame: frame)
}