Every time you look at your iPhone you see UIViews. UIViews everywhere! In this article we are going to see what a UIView can do and how you can use it to make your apps. Views 101 The UIView class defines a rectangular area on the screen on which it shows content. It handles the rendering of any content in…
Tag Archive for ibdesignable
How to make awesome UI components in iOS 8 using Swift and XCode 6
In Xcode 6 two new interface builder declaration attributes were introduced: IBInspectable and IBDesignable. IBInspectableexposes class properties in the interface builder Attribute Inspector, and IBDesignable updates the view in realtime! They are pure magic! I can’t wait to see what cool stuff you will make. tl;dr a short tutorial on how to use IBInspectable and IBDesignable with a video demo. It should take you around 10 minutes to go through all the steps. code on…