 	// MARK: Computed properties
 	//
 	// -----------------------------------------------------------------------------------------------------------------------
+	
+	@IBInspectable public var styleName:String? {
+		didSet {
+			if let styleName = self.styleName, style = Styles.sharedStyles.styleNamed(styleName) {
+				self.applyStyle(style)
+			}
+		}
+	}
 	
 	@IBInspectable public var imageName:String? {
         didSet {

import UIKit


@IBDesignable public class STImageView : UIImageView {
	
	
	// -----------------------------------------------------------------------------------------------------------------------

	
	// -----------------------------------------------------------------------------------------------------------------------
	//
	// MARK: Public methods
	//
	// -----------------------------------------------------------------------------------------------------------------------
	
	public func applyStyle(style:Style) {
		self.tintImageWithForegroundColor = style.tintImageWithForegroundColor
		self.tintColor = style.foregroundColor
	}
	
	
	// -----------------------------------------------------------------------------------------------------------------------
	//
	// MARK: Private methods
	//
	// -----------------------------------------------------------------------------------------------------------------------
