MOCKING IN SWIFT WITH CUCKOO

Swift is different from other languages. The same rules do not apply. Other languages can use reflection to alter your runtime code to mock out the classes. But you can’t do that in Swift. It’s been designed to be a much safer language and doesn’t allow the code to be modified at runtime. There aren’t…