DemoView.swift
540バイト
//
// DemoView.swift
// jacket_test_ios
//
// Created by USER on 2017/10/11.
// Copyright © 2017年 ドラッサル 亜嵐. All rights reserved.
//
import UIKit
class DemoView: UIView {
// Only override draw() if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
override func draw(_ rect: CGRect) {
// Drawing code
let label = UILabel()
label.text = "Demo"
label.sizeToFit()
self.addSubview(label)
}
}