Skip to content

Instantly share code, notes, and snippets.

@lilyball
Last active January 29, 2019 05:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lilyball/44148daf8e32d8a6ab1c8519c79d71a4 to your computer and use it in GitHub Desktop.
Save lilyball/44148daf8e32d8a6ab1c8519c79d71a4 to your computer and use it in GitHub Desktop.
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