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
eventually { | |
numberOfTimesPolled mustEqual 10 | |
} (config = | |
PatienceConfig( | |
timeout = scaled(Span(1000, Millis)), | |
interval = scaled(Span(1, Millis)) | |
) | |
) |
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
// in the swift part | |
extension MyObjectiveCClass { | |
func myFunctionInSwift(){ | |
println("this is running in Swift") | |
} | |
} | |
//On the objective C Side |
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
class myClass{ | |
let myInt: Int | |
init(){ | |
myInt = 5 | |
} | |
} |