Skip to content

Instantly share code, notes, and snippets.

@xiangyu-sun
Last active October 19, 2018 16:25
Show Gist options
  • Save xiangyu-sun/b99a26ec2376c004555e99ae44369fa1 to your computer and use it in GitHub Desktop.
Save xiangyu-sun/b99a26ec2376c004555e99ae44369fa1 to your computer and use it in GitHub Desktop.
gloabl3.swift
//different module
extension SeamTestViewController {
@discardableResult
func dependencyFunction() -> Bool {
print("printing using a system console, and good")
return true
}
}
class SeamTest: XCTestCase {
let testHost = SeamTestViewController()
func testSeam() {
testHost.createTrouble()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment