mockolo
mockolo copied to clipboard
@available attribute on function mocked incorrectly
when a protocol is marked with a @available(*, deprecated...
on a function, mockolo specifies the entire type as @available(*, deprecated, ...
instead of just the function
![Screenshot 2023-01-26 at 11 20 47 AM](https://user-images.githubusercontent.com/3814772/214929855-4c70eb1e-4255-4dd3-a7ba-fbec7d92e121.png)
is that expected behavior and desirable at Uber? or simply an oversight
I'm running into this issue as well. Have you found a fix/workaround?
i have not, ive just been ignoring the warning
This breaks the generation is the function aslo has an @objc on it