I created custom view class.
import UIKit
class CustomView: UIView {
init(frame: CGRect) {
super.init(frame: frame)
// Initialization code
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
override func drawRect(rect: CGRect)
{
// Drawing code
}
*/
}
But i don't know how to include created custom view in Storyboard because i heard that we can add custom views in storyboard design.