You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm fairly new with Cuckoo and got everything up and running. I do encounter an issue and I'm unable to find a solution in the issues here on GitHub (or I'm not searching for it the right way...).
However the generated mocks are no UIView's rather just classes which conform to the Slide protocol. Subsequently giving me the following errors while compiling:
Slide requires that MockSlide inherit from `UIView
Slide requires that SlideStub inherit from `UIView
How can I fix this, or is this 'just how things work'?
The text was updated successfully, but these errors were encountered:
Hi, @geraldeersteling. Cuckoo needs the source code to parse it and find out which methods are declared, which it can't do from just the type unfortunately. The OCMock integration in Cuckoo might help with this, take a look at the tests and try it out.
Hello,
I'm fairly new with Cuckoo and got everything up and running. I do encounter an issue and I'm unable to find a solution in the issues here on GitHub (or I'm not searching for it the right way...).
Take this protocol for example:
Now when I run Cuckoo this gave me the following generated code:
Generated code
However the generated mocks are no UIView's rather just classes which conform to the
Slide
protocol. Subsequently giving me the following errors while compiling:Slide
requires thatMockSlide
inherit from `UIViewSlide
requires thatSlideStub
inherit from `UIViewHow can I fix this, or is this 'just how things work'?
The text was updated successfully, but these errors were encountered: