Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

lenix

macrumors newbie
Original poster
Jan 9, 2010
5
0
Hello,


I'm stuck with my development until I find a solution to this problem, so please bear with me.

I added a UIView subclass to my project, finished coding it ( mostly in drawRect() ).

Now I added a View using IB and associated that view with my subclass. It worked fine.

But I don't want to use IB for anything, how can I create a UIView using code and populate it with my UIView subclass?

Any help would be greatly appreciated.. Many thanks in advance :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.