Created
October 19, 2018 16:21
-
-
Save xiangyu-sun/73ad9e504cffc66f4108347a97d08585 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
// production old | |
class SeamTestViewController: UIViewController { | |
func createTrouble() { | |
dependencyFunction() | |
} | |
} | |
extension SeamTestViewController { | |
@discardableResult | |
func dependencyFunction() -> Bool { | |
print("printing using a system console, and good") | |
return true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment