Skip to content

mohsinalimat/VBIBDesignable

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Swift Version

VBIBDesignable

Demo for @IBDesignable and @IBInspectable rendering and customizable using Storyboard.

UIView/UIButton is a @IBDesignable Class rendered in your storyboard, and all its properties are @IBInspectable so that you can customize your VIEW/BUTTON inside the storyboard in the Attributes inspector.

Properties

These following properties can be used to customized using VBDesignableView and VBDesignableButton as parent class.

✪ Corner Radius

✪ Border Width

✪ Border Color

✪ Shadow Radius

✪ Shadow Opacity

✪ Shadow Otfset

✪ Shadow Color

Quick install

Just drag VBUIDesign class into your project In your storyboard, select a UIView Go the the identity inspector and in the class field, type VBDesignableView instead of UIView Play with the attributes inspector with real-times results! Change colors for the shadow add corner radius of your view

Hope it helps.😊

screen shot 2018-07-28 at 5 48 10 pm

Requirements

iOS 8.0+, MacOS 10.10+, ARC

  • Swift 4.1: Xcode 9.3; version >= 3.2.3
  • Swift 4.0: Xcode 9.0; version >= 3.0.5
  • Swift 3.0-3.2: Xcode 8.0-9.0; version >= 0.9.5
  • Swift 2.3: Xcode 7.0; version < 0.9.5

Feedback

I've found a bug, or have a feature request

Please raise a GitHub issue.

I've found a defect in documentation, or thought up how to improve it

Please help library development and create pull requests

Question?

You can feel free to ask the question at e-mail: bharath.viswa1@gmail.com.

About

BharathBob/VBIBDesignable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%