Skip to content

Commit

Permalink
Merge pull request #5 from ww-tech/release/0.5.5
Browse files Browse the repository at this point in the history
Release 0.5.5 - Swift 5 compatibility
  • Loading branch information
g-mark authored Mar 29, 2019
2 parents bceaab6 + 81f8cfe commit 4ab7685
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2019 WW International

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions Sources/WWLayout/Insets.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ public struct Insets {
}
}

public extension Insets {
extension Insets {
public static let zero = Insets(0)
}

public extension Insets {
extension Insets {

/// Set all edges of the inset to the same amount.
public init(_ allEdgesAmount: CGFloat) {
Expand Down
2 changes: 1 addition & 1 deletion Sources/WWLayout/Layout+Size.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

import UIKit

public extension Layout {
extension Layout {

//size(80)
// size(80, 200)
Expand Down
2 changes: 1 addition & 1 deletion Sources/WWLayout/LayoutRelation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public enum LayoutRelation {

// MARK: - constraint creation helpers

internal extension LayoutRelation {
extension LayoutRelation {

/// Get the corresponding NSLayoutRelation
internal var nsRelation: LayoutConstraint.Relation {
Expand Down
2 changes: 1 addition & 1 deletion Sources/WWLayout/UIView+Layout.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

import UIKit

public extension UIView {
extension UIView {

/// Access to auto layout constrains for the view
public var layout: Layout { return Layout(self) }
Expand Down
8 changes: 4 additions & 4 deletions WWLayout.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
Pod::Spec.new do |s|

s.name = "WWLayout"
s.version = "0.5.0"
s.summary = "An easy way to add layout constraints"
s.description = "WWLayout is an easy way to add layout constraints with code."
s.homepage = "https://github.com/ww-tech/wwlayout"
s.version = "0.5.5"
s.summary = "Swifty DSL for programmatic Auto Layout in iOS"
s.description = "WWLayout is an elegant way to add auto-layout constraints with code."
s.homepage = "https://ww-tech.github.io/wwlayout/"

s.license = "Apache-2.0"
s.author = { "Steven Grosmark" => "[email protected]" }
Expand Down
4 changes: 2 additions & 2 deletions WWLayout.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,12 @@
TargetAttributes = {
798F251F1FD18FA4006E6A44 = {
CreatedOnToolsVersion = 9.1;
LastSwiftMigration = 1010;
LastSwiftMigration = 1020;
ProvisioningStyle = Automatic;
};
798F25281FD18FA4006E6A44 = {
CreatedOnToolsVersion = 9.1;
LastSwiftMigration = 1010;
LastSwiftMigration = 1020;
ProvisioningStyle = Automatic;
};
};
Expand Down
6 changes: 3 additions & 3 deletions WWLayoutExample/WWLayoutExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -257,18 +257,18 @@
TargetAttributes = {
798F25501FD190AB006E6A44 = {
CreatedOnToolsVersion = 9.1;
LastSwiftMigration = 1010;
LastSwiftMigration = 1020;
ProvisioningStyle = Automatic;
};
798F25641FD190AB006E6A44 = {
CreatedOnToolsVersion = 9.1;
LastSwiftMigration = 1010;
LastSwiftMigration = 1020;
ProvisioningStyle = Automatic;
TestTargetID = 798F25501FD190AB006E6A44;
};
798F256F1FD190AB006E6A44 = {
CreatedOnToolsVersion = 9.1;
LastSwiftMigration = 1010;
LastSwiftMigration = 1020;
ProvisioningStyle = Automatic;
TestTargetID = 798F25501FD190AB006E6A44;
};
Expand Down

0 comments on commit 4ab7685

Please sign in to comment.