No drawing visible! (iOS 5.1/Storyboards)

#2 · open · 2 comments

View on GitHub ↗

elsurudo

This looks like a fine control in the example project, but I can't get it working in my own... I'm placing the control visually in my storyboard, and changing the class in IB to "StyledPageControl" (as per usual). The drawRect method does indeed get called, but nothing is being drawn on screen! What could the problem be?

Comments

honcheng

I'm not familiar with IB. Did not add support for it, but I pulled a request from someone who did a month ago, Can you check if that works?

EKnizhnik

you can add it to storyboard set up most options by defining user defined runtime attributes, like this ![2015-09-01 12 08 12 pm](https://cloud.githubusercontent.com/assets/7701677/9600524/3066bb68-50a4-11e5-8083-3adea7f3811c.png)