Skip to content

Commit

Permalink
Adde Carthage support, bumped up IOS requirement to IOS 10.
Browse files Browse the repository at this point in the history
  • Loading branch information
melvitax committed Dec 11, 2016
1 parent f61fb77 commit 5842c4a
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 281 deletions.
2 changes: 1 addition & 1 deletion AFViewHelper.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AFViewHelper'
s.version = '4.2.0'
s.version = '4.2.1'
s.license = 'MIT'
s.summary = 'Autolayout and Animation UIVIew Extension for Swift 2.0.'
s.homepage = 'https://github.com/melvitax/ViewHelper'
Expand Down
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -3,9 +3,12 @@
[![Version](https://img.shields.io/cocoapods/v/AFViewHelper.svg?style=flat)](http://cocoapods.org/pods/AFViewHelper)
[![License](https://img.shields.io/cocoapods/l/AFViewHelper.svg?style=flat)](http://cocoapods.org/pods/AFViewHelper)
[![Platform](https://img.shields.io/cocoapods/p/AFViewHelper.svg?style=flat)](http://cocoapods.org/pods/AFViewHelper)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)


Autolayout and View Animation Helper for Swift 3.0
Autolayout and View Animation Helper for Swift 3.0.
Mimimum requirements: Swift 3 and IOS 10
Supported: IOS and Apple TV


![Sample Project Screenshot](https://raw.githubusercontent.com/melvitax/ViewHelper/master/Screenshot.png?raw=true "Sample Project Screenshot")
Expand Down
Binary file modified Screenshot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 0 additions & 24 deletions Sources/Info-watchOS.plist

This file was deleted.

2 changes: 1 addition & 1 deletion Sources/InspectableButton.swift
@@ -1,6 +1,6 @@
//
// InspectableButton.swift
// ViewHelper: Version 4.2.0
// ViewHelper: Version 4.2.1
// Created by Melvin Rivera on 6/28/16.
// https://github.com/melvitax/ViewHelper
//
Expand Down
2 changes: 1 addition & 1 deletion Sources/InspectableView.swift
@@ -1,6 +1,6 @@
//
// InspectableView.swift
// ViewHelper: Version 4.2.0
// ViewHelper: Version 4.2.1
// Created by Melvin Rivera on 7/24/14.
// https://github.com/melvitax/ViewHelper
//
Expand Down
2 changes: 1 addition & 1 deletion Sources/ViewAnimation.swift
@@ -1,6 +1,6 @@
//
// ViewAnimation.swift
// ViewHelper: Version 4.2.0
// ViewHelper: Version 4.2.1
// Created by Melvin Rivera on 11/23/15.
// https://github.com/melvitax/ViewHelper
//
Expand Down
4 changes: 2 additions & 2 deletions Sources/ViewAutoLayout.swift
@@ -1,6 +1,6 @@
//
// ViewAutoLayout.swift
// ViewHelper: Version 4.2.0
// ViewHelper: Version 4.2.1
// Created by Melvin Rivera on 11/5/15.
// https://github.com/melvitax/ViewHelper
//
Expand Down Expand Up @@ -974,7 +974,7 @@ extension UIView {
Returns true if layout direction is left to right
*/
func layoutDirectionIsLeftToRight() -> Bool {
return (UIApplication.shared.userInterfaceLayoutDirection == .leftToRight)
return (self.effectiveUserInterfaceLayoutDirection == UIUserInterfaceLayoutDirection.leftToRight)
}


Expand Down
8 changes: 1 addition & 7 deletions Sources/ViewControllerAutoLayout.swift
@@ -1,6 +1,6 @@
//
// ViewControllerAutoLayout.swift
// ViewHelper: Version 4.2.0
// ViewHelper: Version 4.2.1
// Created by Melvin Rivera on 11/5/15.
// https://github.com/melvitax/ViewHelper
//
Expand All @@ -10,12 +10,6 @@ import UIKit

extension UIViewController {

/**
Returns true if layout direction is left to right
*/
func layoutDirectionIsLeftToRight() -> Bool {
return (UIApplication.shared.userInterfaceLayoutDirection == .leftToRight)
}

/**
Returns true if horizontal size class is compact
Expand Down
2 changes: 1 addition & 1 deletion Sources/ViewEffects.swift
@@ -1,6 +1,6 @@
//
// ViewEffects.swift
// ViewHelper: Version 4.2.0
// ViewHelper: Version 4.2.1
// Created by Melvin Rivera on 7/2/14.
// https://github.com/melvitax/ViewHelper
//
Expand Down

0 comments on commit 5842c4a

Please sign in to comment.