mockolo icon indicating copy to clipboard operation
mockolo copied to clipboard

@available attribute on function mocked incorrectly

Open AndrewSB opened this issue 1 year ago • 3 comments

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

is that expected behavior and desirable at Uber? or simply an oversight

AndrewSB avatar Jan 26 '23 19:01 AndrewSB

I'm running into this issue as well. Have you found a fix/workaround?

tinder-owenthomas avatar May 05 '23 19:05 tinder-owenthomas

i have not, ive just been ignoring the warning

AndrewSB avatar May 16 '23 00:05 AndrewSB

This breaks the generation is the function aslo has an @objc on it

karim-alweheshy avatar Feb 19 '24 17:02 karim-alweheshy