ios布局-与xib结合

来源:互联网 发布:java serversocket 编辑:程序博客网 时间:2024/06/07 23:45


Create an IBDesignable UIView subclass with code from an XIB file in Xcode 6

http://supereasyapps.com/blog/2014/12/15/create-an-ibdesignable-uiview-subclass-with-code-from-an-xib-file-in-xcode-6


create custom UIControl or custom UIView objects that can be reused.


In the following steps I will visually show and explain what you'll need to do to create an IBDesignable and IBInspectable UIView that you can reuse in your iPhone apps. You will be able to leverage the power of design time editing in Xcode along with a better visualization of what your app will look like.



0 0
原创粉丝点击