Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- open override var formatKey: String { //overriding non-open var outside of its defining module
- get {
- if customFormatKey != nil {
- return customFormatKey!
- }
- return String(describing: type(of: self)).components(separatedBy: ".").last!
- }
- }
Add Comment
Please, Sign In to add comment