使用Swift在Xcode中创建自定义控件 原文 IBDesignable and IBInspectable With IBDesignable and IBInspectable, developers are allowed to create interface (or view) that renders in Interface Builder in real time. In general, to apply this new feature, all you need to d…
1.创建一个 Single View Application: 2.删除工程目录下的 Main.storyboard 和 LaunchScreen.xib: 3.打开 Supporting Files 下的 Info.plist,删除 Launch screen interface file base name 和 Main storyboard file base name 两项: 4.点击工程 -> 点击Target下面的第一项 -> 选择General选项卡 -> 点击 Use A…