         setupViews()
     }
     
-    required init?(coder aDecoder: NSCoder) {
+    required public init?(coder aDecoder: NSCoder) {
         super.init(coder: aDecoder)
         setupViews()
     }
     
-    override func prepareForInterfaceBuilder() {
+    override public func prepareForInterfaceBuilder() {
         setupViews()
     }
 	

		self.addSubview(iconView)
	}
 
	override func tintColorDidChange() {
		self.iconView.textColor = self.tintColor
	}
 
	override func layoutSubviews() {
		super.layoutSubviews()
		self.clipsToBounds = true
		self.iconView.font = UIFont.fontAwesomeOfSize(bounds.size.width < bounds.size.height ? bounds.size.width : bounds.size.height)

import UIKit

/// A view for FontAwesome icons.
@IBDesignable public class FontAwesomeView : UIView {
    
    @IBInspectable
    public var iconCode:String = "" {
        didSet{
            self.iconView.text = String.fontAwesomeIconWithCode(iconCode)
        }
