Skip to content

Commit

Permalink
Added logo. Added description. Little fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
k-o-d-e-n committed Sep 22, 2017
1 parent 3ca1a94 commit 94758ce
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
8 changes: 3 additions & 5 deletions CGLayout.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,16 @@

Pod::Spec.new do |s|
s.name = 'CGLayout'
s.version = '0.5.0'
s.summary = 'A short description of CGLayout.'
s.version = '0.5.2'
s.summary = 'Constraint-based autolayout system written on Swift. Not Autolayout wrapper.'

# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!

s.description = <<-DESC
TODO: Add long description of the pod here.
DESC
s.description = 'Powerful autolayout framework, that can manage UIView, CALayer and not rendered views. Has cross-hierarchy coordinate space. Implementation performed on rect-based constraints. Fast, asynchronous, declarative, cacheable, extensible.'

s.homepage = 'https://github.com/k-o-d-e-n/CGLayout'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
Expand Down
2 changes: 2 additions & 0 deletions Example/CGLayout/SecondViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ public class SecondViewController: UIViewController {
layoutScheme.apply(snapshot: snapshot)
} else if UIDevice.current.orientation.isLandscape, let snapshot = landscapeSnapshot {
layoutScheme.apply(snapshot: snapshot)
} else {
layoutScheme.layout()
}
}
}
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,20 @@
[![License](https://img.shields.io/cocoapods/l/CGLayout.svg?style=flat)](http://cocoapods.org/pods/CGLayout)
[![Platform](https://img.shields.io/cocoapods/p/CGLayout.svg?style=flat)](http://cocoapods.org/pods/CGLayout)

<p align="center">
<img src="logo.png">
</p>

Powerful autolayout framework, that can manage UIView, CALayer and not rendered views. Has cross-hierarchy coordinate space. Implementation performed on rect-based constraints. Fast, asynchronous, declarative, cacheable, extensible.

## Example

To run the example project, clone the repo, and run `pod install` from the Example directory first.

## Requirements

Xcode 8.3+

## Installation

CGLayout is available through [CocoaPods](http://cocoapods.org). To install
Expand Down
Binary file added logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo.xd
Binary file not shown.

0 comments on commit 94758ce

Please sign in to comment.