text: //
  //  UIView+Convenience.h
  //  UltimateIPhone
  //
  //  Created by james on 10/16/12.
  //  Copyright (c) 2012 Summit Hill Software. All rights reserved.
  //
  
  #import <UIKit/UIKit.h>
  
  @interface UIView (Convenience)
  
  @property (nonatomic) CGFloat frameX;
  @property (nonatomic) CGFloat frameY;
  @property (nonatomic) CGFloat frameHeight;
  @property (nonatomic) CGFloat frameWidth;
  @property (nonatomic) CGFloat frameRight;
  @property (nonatomic) CGFloat frameBottom;
  @property (nonatomic) CGFloat boundsX;
  @property (nonatomic) CGFloat boundsY;
  @property (nonatomic) CGFloat boundsHeight;
  @property (nonatomic) CGFloat boundsWidth;
  @property (nonatomic, readonly) CGPoint boundsCenter;
  @property (nonatomic) BOOL visible;
  
  -(CGFloat)distanceBetweenPoint: (CGPoint)p1 andPoint:(CGPoint)p2;
  
  
  @end
  