Last active
January 29, 2019 05:54
-
-
Save lilyball/44148daf8e32d8a6ab1c8519c79d71a4 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
open class NotMine { | |
private let a : String | |
private let b : String | |
private init(a: String) { | |
self.a = a | |
self.b = "\(a)_" | |
} | |
public convenience init(a: String, b: String) { | |
self.init(a: a) | |
} | |
} | |
class Extension : NotMine { | |
public var c: String { return _c } | |
private var _c: String! | |
public convenience init(a: String, b: String, c: String) { | |
self.init(a: a, b: b) | |
_c = c | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment