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

Adding ObjC file to template #36

Closed
dm-z opened this issue May 24, 2017 · 4 comments
Closed

Adding ObjC file to template #36

dm-z opened this issue May 24, 2017 · 4 comments

Comments

@dm-z
Copy link
Collaborator

dm-z commented May 24, 2017

Hey,

Thanks a lot for merging my pull request #35

I have a question after merging - should I add one ObjC class to the template, so it would be obvious for users how to add objc files and have interoperability with swift code? What do you think?

P.S. I think that this template can be universal for both languages. Ofc example and tests will still be in Swift, which is not a problem for me.

@fulldecent
Copy link
Owner

This is a great idea and it will let me /finally/ merge into pod-template.

Can you think of a classy, not contrived, way to add another ObjC file in there?

@dm-z
Copy link
Collaborator Author

dm-z commented Jun 19, 2017

Can you clarify what do you mean by "classy"? I'm not sure I get what you mean :)

P.S. My idea was to add a file with ObjC code to "Add source code with some functionality to the module" recipe step.

@fulldecent
Copy link
Owner

The current example code displays a chess piece. The new code should also do something useful, not just print "hello world".

@fulldecent
Copy link
Owner

Fixed in #37, thank you!

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