mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-06-05 20:03:41 +08:00
21 lines
324 B
Swift
21 lines
324 B
Swift
//
|
|
// IndicatorView.swift
|
|
// MailExample
|
|
//
|
|
// Created by Ryan Nystrom on 6/26/17.
|
|
//
|
|
//
|
|
|
|
import UIKit
|
|
|
|
class IndicatorView: UIView {
|
|
var color = UIColor.clear {
|
|
didSet { setNeedsDisplay() }
|
|
}
|
|
|
|
override func draw(_ rect: CGRect) {
|
|
color.set()
|
|
UIBezierPath(ovalIn: rect).fill()
|
|
}
|
|
}
|