Skip to content
This repository was archived by the owner on Jul 13, 2022. It is now read-only.

Commit 8c17a1d

Browse files
committed
Version 2.2
1 parent 0ccea08 commit 8c17a1d

18 files changed

+28
-24
lines changed

Arranged.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "Arranged"
3-
s.version = "2.1"
3+
s.version = "2.2"
44
s.summary = "Open source replacement of UIStackView for iOS 8 (100% layouts supported)"
55

66
s.homepage = "https://github.com/kean/Arranged"

Arranged.xcodeproj/project.pbxproj

+5-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@
254254
isa = PBXProject;
255255
attributes = {
256256
LastSwiftUpdateCheck = 0800;
257-
LastUpgradeCheck = 0920;
257+
LastUpgradeCheck = 1000;
258258
ORGANIZATIONNAME = "Alexander Grebenyuk";
259259
TargetAttributes = {
260260
0C7D028A1C98756C00DAB3ED = {
@@ -517,12 +517,14 @@
517517
CLANG_WARN_BOOL_CONVERSION = YES;
518518
CLANG_WARN_COMMA = YES;
519519
CLANG_WARN_CONSTANT_CONVERSION = YES;
520+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
520521
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
521522
CLANG_WARN_EMPTY_BODY = YES;
522523
CLANG_WARN_ENUM_CONVERSION = YES;
523524
CLANG_WARN_INFINITE_RECURSION = YES;
524525
CLANG_WARN_INT_CONVERSION = YES;
525526
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
527+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
526528
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
527529
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
528530
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -574,12 +576,14 @@
574576
CLANG_WARN_BOOL_CONVERSION = YES;
575577
CLANG_WARN_COMMA = YES;
576578
CLANG_WARN_CONSTANT_CONVERSION = YES;
579+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
577580
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
578581
CLANG_WARN_EMPTY_BODY = YES;
579582
CLANG_WARN_ENUM_CONVERSION = YES;
580583
CLANG_WARN_INFINITE_RECURSION = YES;
581584
CLANG_WARN_INT_CONVERSION = YES;
582585
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
586+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
583587
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
584588
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
585589
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;

Arranged.xcodeproj/xcshareddata/xcschemes/Arranged iOS.xcscheme

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0920"
3+
LastUpgradeVersion = "1000"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -26,7 +26,6 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
language = ""
3029
shouldUseLaunchSchemeArgsEnv = "YES">
3130
<Testables>
3231
<TestableReference
@@ -56,7 +55,6 @@
5655
buildConfiguration = "Debug"
5756
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
5857
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
59-
language = ""
6058
launchStyle = "0"
6159
useCustomWorkingDirectory = "NO"
6260
ignoresPersistentStateOnLaunch = "NO"

Arranged.xcodeproj/xcshareddata/xcschemes/Arranged tvOS.xcscheme

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0920"
3+
LastUpgradeVersion = "1000"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -26,7 +26,6 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
language = ""
3029
shouldUseLaunchSchemeArgsEnv = "YES">
3130
<Testables>
3231
<TestableReference
@@ -56,7 +55,6 @@
5655
buildConfiguration = "Debug"
5756
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
5857
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
59-
language = ""
6058
launchStyle = "0"
6159
useCustomWorkingDirectory = "NO"
6260
ignoresPersistentStateOnLaunch = "NO"

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
[Changelog](https://github.com/kean/Arranged/releases) for all versions
22

3+
## Arranged 2.2
4+
5+
- Make UIStackView APIs open
6+
37
## Arranged 2.1
48

59
- Updated to Swift 4

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017 Alexander Grebenyuk
3+
Copyright (c) 2018 Alexander Grebenyuk
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// The MIT License (MIT)
22
//
3-
// Copyright (c) 2017 Alexander Grebenyuk (github.com/kean).
3+
// Copyright (c) 2018 Alexander Grebenyuk (github.com/kean).
44

55
import PackageDescription
66

Sources/AlignedLayoutArrangement.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// The MIT License (MIT)
22
//
3-
// Copyright (c) 2017 Alexander Grebenyuk (github.com/kean).
3+
// Copyright (c) 2018 Alexander Grebenyuk (github.com/kean).
44

55
import UIKit
66

Sources/DistributionLayoutArrangement.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// The MIT License (MIT)
22
//
3-
// Copyright (c) 2017 Alexander Grebenyuk (github.com/kean).
3+
// Copyright (c) 2018 Alexander Grebenyuk (github.com/kean).
44

55
import UIKit
66

Sources/Internal.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// The MIT License (MIT)
22
//
3-
// Copyright (c) 2017 Alexander Grebenyuk (github.com/kean).
3+
// Copyright (c) 2018 Alexander Grebenyuk (github.com/kean).
44

55
import UIKit
66

Sources/LayoutArrangement.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// The MIT License (MIT)
22
//
3-
// Copyright (c) 2017 Alexander Grebenyuk (github.com/kean).
3+
// Copyright (c) 2018 Alexander Grebenyuk (github.com/kean).
44

55
import UIKit
66

Sources/StackView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// The MIT License (MIT)
22
//
3-
// Copyright (c) 2017 Alexander Grebenyuk (github.com/kean).
3+
// Copyright (c) 2018 Alexander Grebenyuk (github.com/kean).
44

55
import UIKit
66

Supporting/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.1</string>
18+
<string>2.2</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Tests/Adapter.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// The MIT License (MIT)
22
//
3-
// Copyright (c) 2017 Alexander Grebenyuk (github.com/kean).
3+
// Copyright (c) 2018 Alexander Grebenyuk (github.com/kean).
44

55
import Foundation
66
import UIKit

Tests/Configuration.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// The MIT License (MIT)
22
//
3-
// Copyright (c) 2017 Alexander Grebenyuk (github.com/kean).
3+
// Copyright (c) 2018 Alexander Grebenyuk (github.com/kean).
44

55
import UIKit
66

Tests/Internal.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// The MIT License (MIT)
22
//
3-
// Copyright (c) 2017 Alexander Grebenyuk (github.com/kean).
3+
// Copyright (c) 2018 Alexander Grebenyuk (github.com/kean).
44

55
import Arranged
66
import UIKit

Tests/LayoutTests.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// The MIT License (MIT)
22
//
3-
// Copyright (c) 2017 Alexander Grebenyuk (github.com/kean).
3+
// Copyright (c) 2018 Alexander Grebenyuk (github.com/kean).
44

55
import Arranged
66
import UIKit
@@ -127,11 +127,11 @@ class LayoutTests: XCTestCase {
127127

128128
// MARK: Tests Implementation
129129

130-
func _test(_ views: @escaping ((Void) -> [UIView])) {
130+
func _test(_ views: @escaping (() -> [UIView])) {
131131
_test(views: views, update: nil)
132132
}
133133

134-
func _test(views: @escaping ((Void) -> [UIView]), update: ((StackViewAdapter, [UIView]) -> Void)?) {
134+
func _test(views: @escaping (() -> [UIView]), update: ((StackViewAdapter, [UIView]) -> Void)?) {
135135
var failedCount = 0
136136
let combinations = StackTestConfiguraton.generate()
137137
combinations.forEach {
@@ -147,7 +147,7 @@ class LayoutTests: XCTestCase {
147147
print("Total passes: \(testCasesCount - failedTestCasesCount)/\(testCasesCount) combinations")
148148
}
149149

150-
func _test(_ viewsClosure: @escaping ((Void) -> [UIView]), update: ((StackViewAdapter, [UIView]) -> Void)?, conf: StackTestConfiguraton) -> Bool {
150+
func _test(_ viewsClosure: @escaping (() -> [UIView]), update: ((StackViewAdapter, [UIView]) -> Void)?, conf: StackTestConfiguraton) -> Bool {
151151
let stack1 = UIStackView()
152152
let stack2 = StackView()
153153

Tests/SubviewsManagementTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// The MIT License (MIT)
22
//
3-
// Copyright (c) 2017 Alexander Grebenyuk (github.com/kean).
3+
// Copyright (c) 2018 Alexander Grebenyuk (github.com/kean).
44

55
import Arranged
66
import UIKit

0 commit comments

Comments
 (0)