Skip to content

Commit 5aefc54

Browse files
committed
changed protection level
1 parent 70871eb commit 5aefc54

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.DS_Store

6 KB
Binary file not shown.
Binary file not shown.

Source/Transition.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ public protocol Transition {
1212

1313
//TODO: make options to present non animated or smth
1414

15-
open class PushTransition: Transition {
15+
public class PushTransition: Transition {
1616

1717
private var controllerToPush: () -> UIViewController
1818

19-
init(controllerToPush: @escaping () -> UIViewController) {
19+
public init(controllerToPush: @escaping () -> UIViewController) {
2020
self.controllerToPush = controllerToPush
2121
}
2222

@@ -29,7 +29,7 @@ open class PresentTransition: Transition {
2929

3030
private var controllerToPresent: () -> UIViewController
3131

32-
init(controllerToPresent: @escaping () -> UIViewController) {
32+
public init(controllerToPresent: @escaping () -> UIViewController) {
3333
self.controllerToPresent = controllerToPresent
3434
}
3535

@@ -54,7 +54,7 @@ open class DismissTransition: Transition {
5454
open class NewWindowRootControllerTransition: Transition {
5555
private let leadingTo: () -> (UIViewController)
5656

57-
init(leadingTo: @escaping () -> (UIViewController)) {
57+
public init(leadingTo: @escaping () -> (UIViewController)) {
5858
self.leadingTo = leadingTo
5959
}
6060

TrueTransition.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Pod::Spec.new do |s|
33
s.name = 'TrueTransition'
4-
s.version = '0.4.2'
4+
s.version = '0.4.3'
55
s.summary = 'Simple pod for decoupling transitions.'
66

77
s.description = <<-DESC

0 commit comments

Comments
 (0)