Skip to content

Commit

Permalink
changed protection level
Browse files Browse the repository at this point in the history
  • Loading branch information
shles committed Feb 13, 2019
1 parent 70871eb commit 5aefc54
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Binary file added .DS_Store
Binary file not shown.
Binary file not shown.
8 changes: 4 additions & 4 deletions Source/Transition.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ public protocol Transition {

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

open class PushTransition: Transition {
public class PushTransition: Transition {

private var controllerToPush: () -> UIViewController

init(controllerToPush: @escaping () -> UIViewController) {
public init(controllerToPush: @escaping () -> UIViewController) {
self.controllerToPush = controllerToPush
}

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

private var controllerToPresent: () -> UIViewController

init(controllerToPresent: @escaping () -> UIViewController) {
public init(controllerToPresent: @escaping () -> UIViewController) {
self.controllerToPresent = controllerToPresent
}

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

init(leadingTo: @escaping () -> (UIViewController)) {
public init(leadingTo: @escaping () -> (UIViewController)) {
self.leadingTo = leadingTo
}

Expand Down
2 changes: 1 addition & 1 deletion TrueTransition.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Pod::Spec.new do |s|
s.name = 'TrueTransition'
s.version = '0.4.2'
s.version = '0.4.3'
s.summary = 'Simple pod for decoupling transitions.'

s.description = <<-DESC
Expand Down

0 comments on commit 5aefc54

Please sign in to comment.