Skip to content

Commit

Permalink
Add PodSpec for UIView+Positioning v1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
freak4pc committed Jul 7, 2016
1 parent 85dcc40 commit 8118ddf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ UIView-Positioning
================
**UIView+Positioning** is a Swift Extension which 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.

Objective-C
-----
An Objective-C version is available in the ['master' branch]. If you're currently targeting iOS >= 7, you might as well use the Swift version which will most likely replace the Objecive-C version as time passes by.

USAGE
-----
Just use the properties **x**, **y**, **width**, **height** or use **origin** and **size** to kill two birds with one stone ;-)
Expand Down
10 changes: 10 additions & 0 deletions UIView+Positioning.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Pod::Spec.new do |spec|
spec.name = 'UIView+Positioning'
spec.version = '1.2'
spec.license = { :type => 'MIT' }
spec.homepage = 'https://github.com/freak4pc/UIView-Positioning'
spec.authors = { 'Tony Million' => '[email protected]' }
spec.summary = 'UIView+Positioning provides shorthand methods to defining the frame properties of any UIView based object in an easy fashion.'
spec.source = { :git => 'https://github.com/freak4pc/UIView-Positioning.git', :tag => 'v1.2' }
spec.source_files = 'UIViewUIView+Positioning.swift'
end

0 comments on commit 8118ddf

Please sign in to comment.