Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Commit a01810a

Browse files
committed
Rename UIViewControllerType to SeguePerformerType
1 parent d4c4bda commit a01810a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Library/UIKit/UIViewController+StoryboardSegueIdentifierProtocol.swift

+7-4
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
import Foundation
1010
import UIKit
1111

12-
public protocol UIViewControllerType {
12+
public protocol SeguePerformerType {
1313
func performSegueWithIdentifier(identifier: String, sender: AnyObject?)
1414
}
1515

16-
extension UIViewController: UIViewControllerType { }
16+
extension UIViewController: SeguePerformerType { }
1717

18-
public extension UIViewControllerType {
18+
public extension SeguePerformerType {
1919
/**
2020
Initiates the segue with the specified identifier (R.segue.*) from the current view controller's storyboard file.
2121
- parameter identifier: The R.segue.* that identifies the triggered segue.
@@ -30,7 +30,10 @@ public extension UIViewControllerType {
3030
}
3131

3232
public extension StoryboardSegue where Source : UIViewController {
33-
/// Performs the specified segue
33+
/**
34+
Performs this segue on the source view controller
35+
- parameter sender: The object that you want to use to initiate the segue. This object is made available for informational purposes during the actual segue.
36+
*/
3437
public func performSegue(sender: AnyObject? = nil) {
3538
sourceViewController.performSegueWithIdentifier(identifier.identifier, sender: sender)
3639
}

0 commit comments

Comments
 (0)