代码手写UI,xib和StoryBoard间的博弈,以及Interface Builder的一些小技巧 推荐一篇博文 http://onevcat.com/2013/12/code-vs-xib-vs-storyboard/