Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 1.17 KB

README.md

File metadata and controls

58 lines (37 loc) · 1.17 KB

Swift_Shadow_ImageView

4.0 MIT

UIView with Image, shadow and border in Swift


Description

Change needed UIView attributes directly from the Identity Inspector

  • Border Color
  • Border Width
  • Corner Radius
  • Image
  • Image Content Mode
  • Shadow Color
  • Shadow Opacity
  • Shadow Radius
  • Shadow Offset

Installation

Manual:

  • drag 'n drop SwiftShadowImageView.swift file into your project.

How to use

Storyboard:

  • Drag & drop a UIView to your Storyboard.
  • Change its Class to SwiftShadowImageView
  • Modify its values in the Attributes Inspector and watch your view change!!!!
  • If you need to change something in your code, drag an IBOutlet to your controller and then make your changes (as shown in project)

Authors

  • George Leonidas

License

This project is licensed under the MIT License - see the LICENSE.md file for details