Latest 1.1.0
Homepage https://github.com/LiDechao/UIView-Frame
License MIT
Platforms ios 7.0, requires ARC
Frameworks Foundation, UIKit
Authors

UIView+Frame

Just use a easy way to write the UIView frame.

Installation

Use the CocoaPods.

In your Podfile

pod 'IDCViewFrame', '~> 1.1.0'

Suggest put the header file to PCH file inside.

#import <IDCViewFrame/UIView+Frame.h>
property relationship type
x frame.origin.x CGFloat
y frame.origin.y CGFloat
width frame.size.width CGFloat
height frame.size.height CGFloat
size frame.size CGSize
origin frame.origin CGPoint
left left CGFloat
top top CGFloat
right right CGFloat
bottom bottom CGFloat
centerX center.x CGFloat
centerY center.y CGFloat

Latest podspec

{
    "name": "IDCViewFrame",
    "version": "1.1.0",
    "summary": "A view framework used on iOS.",
    "description": "It is a marquee view used on iOS, which implement by Objective-C.",
    "homepage": "https://github.com/LiDechao/UIView-Frame",
    "license": "MIT",
    "authors": {
        "idechao": "[email protected]"
    },
    "source": {
        "git": "https://github.com/LiDechao/UIView-Frame.git",
        "tag": "1.1.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "UIView+Frame/*",
    "frameworks": [
        "Foundation",
        "UIKit"
    ]
}

Pin It on Pinterest

Share This