 
 }
 
+/**
+`DynamicStyleButton` is a UIButton subclass which supports styling
+*/
 
 @IBDesignable public class DynamicStyleButton: UIButton{
     
+    /// The active stylesheet (defaults to the default one).
+    
     var stylesheet: Stylesheet? = Stylesheet.defaultStylesheet
+    
+    /// The *name* of the style to be applied. Setting this (in code or from Interface Builder) will cause the style with said name from the active stylesheet to be applied to the label.
     
     @IBInspectable public var styleName: NSString? {
         didSet{

import UIKit

/**
A `Stylesheet` is a container for a selection of styles loaded from a plist.
*/

public class Stylesheet{

        }
    }
    
    /// The *style* - setting this sets the font of the label to match the font defined by the style
    
    public var style: Style? {
        didSet{
            self.font=style?.font()
        }
    }
    
    /// Provides @IBDesignable functionality
    
    override public func prepareForInterfaceBuilder() {
        
        let bundle = NSBundle.projectBundleForInterfaceBuilder()
