Skip to content

geoleo751/Swift_Shadow_ImageView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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


About

UIView with Image, shadow and border in Swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages