2 "name": "UIView+Positioning",
4 "summary": "UIView+Positioning provides shorthand methods to defining the frame properties of any UIView based object in an easy fashion.",
5 "description": " \tUIView-Positioning\n ================\n **UIView+Positioning** provides easy shorthand methods to defining the frame properties (width, height, x, y) of any UIView based object in an easy fashion, as well as extra helpful properties and methods.\n\n USAGE\n -----\n Just use the properties **x**, **y**, **width**, **height** or use **origin** and **size** to kill two birds with one stone ;-)\n\n ```objc\n UIButton *btnTest; // Or any other view\n\n btnTest.width = 250;\n btnTest.height = 100;\n\n btnTest.y -= 100;\n btnTest.x += 35;\n\n btnTest.centerX = 20;\n btnTest.centerY = 15;\n\n btnTest.size = CGSizeMake(150, 70);\n btnTest.origin = CGPointMake(25, 10);\n\n NSLog(@\"%f\", btnTest.lastSubviewOnX.x); // X value of the object with the largest X value\n NSLog(@\"%f\", btntest.lastSubviewOnY.y); // Y value of the object with the largest Y value\n\n [btnTest centerToParent]; // Centers button to its parent view, if exists\n ```\n",
6 "homepage": "https://github.com/freak4pc/UIView-Positioning",
9 "Shai Mishali": "freak4pc@gmail.com"
15 "git": "https://github.com/freak4pc/UIView-Positioning.git",
18 "source_files": "UIView+Positioning.**",