You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-ios/Signal/src/UIStoryboard+OWS.swift

21 lines
508 B
Swift

//
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
//
import Foundation
extension UIStoryboard {
private enum StoryboardName: String {
case main = "Main",
registration = "Registration"
}
class var main: UIStoryboard {
return UIStoryboard(name: StoryboardName.main.rawValue, bundle: Bundle.main)
}
class var registration: UIStoryboard {
return UIStoryboard(name: StoryboardName.registration.rawValue, bundle: Bundle.main)
}
}