Carmelo Nguyen
Jul 27, 2017 · 1 min read

Hello,

Great article, exactly what I needed for my app :)
I think you should add one missing element. You first need to draw the thumb view to be able to preview it (line: “Build and run, now we have less 2D element…”).

It’s missing the following:

required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
self.setupUI()
}

override init(frame: CGRect) {
super.init(frame: frame)
self.setupUI()
}

Thanks!

    Carmelo Nguyen

    Written by