Skip to content

Commit

Permalink
Defaulting IOS9 to leftToRight language direction... for now
Browse files Browse the repository at this point in the history
  • Loading branch information
melvitax committed Jan 14, 2017
1 parent a79353b commit 15d729e
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions AFViewHelper.podspec
@@ -1,8 +1,8 @@
Pod::Spec.new do |s|
s.name = 'AFViewHelper'
s.version = '4.2.2'
s.version = '4.2.3'
s.license = 'MIT'
s.summary = 'Autolayout and Animation UIVIew Extension for Swift 2.0.'
s.summary = 'Autolayout and Animation UIVIew Extension for Swift 3.0.'
s.homepage = 'https://github.com/melvitax/ViewHelper'
s.author = { 'Melvin Rivera' => 'melvitax@gmail.com' }
s.source = { :git => 'https://github.com/melvitax/ViewHelper.git', :tag => s.version.to_s }
Expand Down
2 changes: 1 addition & 1 deletion Sources/InspectableButton.swift
@@ -1,6 +1,6 @@
//
// InspectableButton.swift
// ViewHelper: Version 4.2.2
// ViewHelper: Version 4.2.3
// 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.2
// ViewHelper: Version 4.2.3
// 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.2
// ViewHelper: Version 4.2.3
// Created by Melvin Rivera on 11/23/15.
// https://github.com/melvitax/ViewHelper
//
Expand Down
5 changes: 3 additions & 2 deletions Sources/ViewAutoLayout.swift
@@ -1,6 +1,6 @@
//
// ViewAutoLayout.swift
// ViewHelper: Version 4.2.2
// ViewHelper: Version 4.2.3
// Created by Melvin Rivera on 11/5/15.
// https://github.com/melvitax/ViewHelper
//
Expand Down Expand Up @@ -977,7 +977,8 @@ extension UIView {
if #available(iOS 10.0, *) {
return (self.effectiveUserInterfaceLayoutDirection == UIUserInterfaceLayoutDirection.leftToRight)
} else {
return UIApplication.shared.userInterfaceLayoutDirection == .leftToRight
// TODO: Figure out how to implemet this in IOS9. For now, we wil force left to right layout
return true
}
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/ViewControllerAutoLayout.swift
@@ -1,6 +1,6 @@
//
// ViewControllerAutoLayout.swift
// ViewHelper: Version 4.2.2
// ViewHelper: Version 4.2.3
// Created by Melvin Rivera on 11/5/15.
// https://github.com/melvitax/ViewHelper
//
Expand Down
2 changes: 1 addition & 1 deletion Sources/ViewEffects.swift
@@ -1,6 +1,6 @@
//
// ViewEffects.swift
// ViewHelper: Version 4.2.2
// ViewHelper: Version 4.2.3
// Created by Melvin Rivera on 7/2/14.
// https://github.com/melvitax/ViewHelper
//
Expand Down

0 comments on commit 15d729e

Please sign in to comment.