                                          vertical: vertical,
                                          horizontalOffset: horizontalOffset,
                                          verticalOffset: verticalOffset)
-        
+
         if CGRectEqualToRect(self.frame, newRect) == false {
             self.frame = newRect
         }

     - parameter verticalOffset:   the horizontal offset to apply to the relative vertical alignment
     */
    func alignToView(otherView          : UIView,
                     horizontal         :  HorizontalAlign,
                     vertical           : VerticalAlign ,
                     horizontalOffset   : CGFloat = 0.0,
                     verticalOffset     : CGFloat = 0.0) {

     - parameter horizontalOffset: the horizontal offset to apply to the relative horizontal alignment
     - parameter verticalOffset:   the horizontal offset to apply to the relative vertical alignment
     
     - returns: center point for the newly calculated frame
     */
    class func alignedPositionFor(newSize          : CGSize,
                                  toFrame          : CGRect,
                                  horizontal       : HorizontalAlign,
                                  vertical         : VerticalAlign,
                                  horizontalOffset : CGFloat = 0.0,
                                  verticalOffset   : CGFloat = 0.0) -> CGPoint {
        
        let newRect =  UIView.alignedRectFor(newSize,
                                             toFrame          : toFrame,
