
上QQ阅读APP看书,第一时间看更新
Getting ready
We will see in this recipe how to create/use UIViews programmatically (hardcoded) or via interface builder. The fast and recommended way is to create your UIViews via interface builder (XIB files or Storyboards); but of course, in some cases, you will need to build custom UIViews, and in that case you will build your own custom UIViews programmatically.