Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using this with Objective C #39

Open
quetool opened this issue Jul 23, 2020 · 1 comment
Open

Using this with Objective C #39

quetool opened this issue Jul 23, 2020 · 1 comment

Comments

@quetool
Copy link

quetool commented Jul 23, 2020

Hi! So, I do have a project written both in Objective C and Swift. But I would like to write tests only Swift either for those Objective-C modules. Could I use this plugin to generate mocks of Objective C classes and protocols and use them on a Swift unit test?

@quetool quetool changed the title Using this with Ojective C Using this with Objective C Jul 23, 2020
@seanhenry
Copy link
Owner

Hi @quetool

It's unlikely that I will ever support ObjC because there is lots of support out there for writing mocks dynamically. These types of manual mocks are required in Swift because it is missing features like read/write introspection which mean a library like OCMock cannot work with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants