     @param dictionary The fragment of the plist containing the definition of the style
     */
     
-    public init(name: String, definition dictionary: [String:AnyObject]){
-        definition=dictionary
+    public init(name: String, definition : [String:AnyObject]){
+
         self.name=name
-        self.parentName=self.definition["parent"] as? String
-    }
-    
-    /// Returns a UIFont object based on this style
-    public func font()->UIFont{
-        let fontDescriptor = self.fontDescriptor()
-        let scaledPointSize=fontDescriptor.pointSize
-        
-        return UIFont(descriptor: fontDescriptor, size: scaledPointSize)
-    }
-    
-    /// Returns a UIFontDescriptor, taking the parent style if present and overriding it with anything in the style definition
-    public func fontDescriptor()->UIFontDescriptor{
-
-        var fontDescriptor: UIFontDescriptor?
-        if (self.parent != nil){
-            fontDescriptor=self.parent!.fontDescriptor()
-        } else {
-            fontDescriptor=baseFontDescriptor()
-        }
-        
-        var localAttributes: [NSObject:AnyObject] = [:]
-
-        if let size: CGFloat = definition["size"] as? CGFloat {
-            let realSize = scaledSize(size)
-            localAttributes[UIFontDescriptorSizeAttribute] = realSize
-        }
-        
-        if let family: String = definition["family"] as? String {
-            localAttributes[UIFontDescriptorFamilyAttribute] = family
-        }
-        
-        if let face: String = definition["face"] as? String {
-            localAttributes[UIFontDescriptorFaceAttribute] = face
-        }
-        
-        fontDescriptor=fontDescriptor?.fontDescriptorByAddingAttributes(localAttributes)
-        return fontDescriptor!
-    }
+        self.parentName=definition["parent"] as? String
+        
+        // Set properties based on what was in the plist fragment
+        
+        if let familyName = definition["family"] as? String {
+            self.family=familyName
+        }
+        
+        if let faceName = definition["face"] as? String {
+            self.face=faceName
+        }
+        
+        if let sizeNum = definition["size"] as? CGFloat {
+            self.size=sizeNum
+        }
+
+        if let shouldScaleVal = definition["shouldScale"] as? Bool {
+            self.shouldScale=shouldScaleVal
+        }
+    }
+    
+
+
+
     
     
     /// Check for whether the parent relationship for this style is cyclical (which would be a bad thing)


public class Style{
    
    /// The definition is a copy of the contents of the plist fragment
    private var definition: [String:AnyObject]
    
    /// The name of the style
    public var name: String
    
    /// The name of the parent style - used internally to resolve the hierarchy
    var parentName: String?
    
    /// The parent style object - populated by the stylesheet after creation. Properties of the parent will be reflected unless overriden by the child...
    public var parent: Style?
    
    /**
    The designated initializer

    
    public var style: Style? {
        didSet{
            self.font=style?.font
        }
    }
    
