Last active
December 23, 2020 19:16
-
-
Save barisuyar/3769717a8594bde0afba77229689921c to your computer and use it in GitHub Desktop.
Buyar
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
public class FirstClass { | |
fileprivate func someMethod() {} | |
} | |
internal class BusinessClass: FirstClass { | |
override internal func someMethod() {} | |
} | |
private class Tax { | |
} | |
public var tax = Tax() | |
struct Tax { | |
var income: Double | |
private(set) var exactTax: Double | |
var ratio: Double { | |
didSet { | |
exactTax = (income / 100) * ratio | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment