text: //
  //  UIView+EasyFrame.h
  //  My16
  //
  //  Created by Jonathan BOUAZIZ on 31/12/2013.
  //  Copyright (c) 2013 My16. All rights reserved.
  //
  
  #import <UIKit/UIKit.h>
  
  /**
   *  Provides getters and setters to move a UIView more easily.
   */
  @interface UIView (EasyFrame)
  
  // Frame
  @property (nonatomic) CGPoint origin;
  @property (nonatomic) CGSize size;
  
  // Frame Origin
  @property (nonatomic) CGFloat x;
  @property (nonatomic) CGFloat y;
  
  // Frame Size
  @property (nonatomic) CGFloat width;
  @property (nonatomic) CGFloat height;
  
  // Frame Borders
  @property (nonatomic) CGFloat top;
  @property (nonatomic) CGFloat left;
  @property (nonatomic) CGFloat bottom;
  @property (nonatomic) CGFloat right;
  
  // Center Point
  @property (nonatomic) CGFloat centerX;
  @property (nonatomic) CGFloat centerY;
  
  // Middle Point
  @property (nonatomic, readonly) CGPoint middlePoint;
  @property (nonatomic, readonly) CGFloat middleX;
  @property (nonatomic, readonly) CGFloat middleY;
  
  @end
  