Created
October 17, 2020 08:36
-
-
Save IsaAliev/58273d9ad67a651b8d9619be841c83bf to your computer and use it in GitHub Desktop.
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
struct ViewDependency: ExpressibleByStringLiteral { | |
typealias StringLiteralType = String | |
var nibName: String | |
var identifier: String | |
var classType: AnyClass | |
var withNib = true | |
var isCell = true | |
var kind = "" | |
init(stringLiteral value: String) { | |
classType = swiftClassFromString(value)! | |
identifier = value | |
nibName = value | |
withNib = false | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment