levinunnink / Smooth-Line-View

Smooth & fast line drawing from touch inputs for UIViews using Quartz
MIT License
641 stars 111 forks source link

Added Storyboard and Interface Builder support #3

Closed egold closed 12 years ago

egold commented 12 years ago

Moved initialization code into a -(void)setup method and called it from both initWithFrame: and initWithCoder: so you can setup a SmoothLineView visually in your storyboard or XIB editor.

The initWithCoder path doesn't set a background color default, since the XIB will already set a backgroundColor property for the view.