This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// AppDelegate.swift | |
// iOS SDK Quick Start | |
// | |
// Created by Spotify on 14/06/2018. | |
// Copyright © 2018 Spotify for Developers. All rights reserved. | |
// | |
import UIKit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
extension UIViewController { | |
/** | |
Checks whether controller can perform specific segue or not. | |
- parameter identifier: Identifier of UIStoryboardSegue. | |
*/ | |
func canPerformSegue(withIdentifier identifier: String) -> Bool { | |
//first fetch segue templates set in storyboard. |