-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
May I create a new hero repository written by Objective-C? #53
Comments
I wouldn't recommend doing so. It will be a quite a lot of work. Was there a specific reason that you would like to implement this in OC? |
yap cause our team has a lot of Engineers who are not so familiar with swift, but we really wanna use Hero in our project, it's so cool. |
You can use Hero in ObjC via swift objc interoperation.
You can import Hero like this in OC:
#import <Hero/Hero-Swift.h>
https://developer.apple.com/library/content/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html
Everything should work as expected. Let me know if it doesn't go well. For
plugin development, you have to do it in swift since you cannot subclass
swift class in objective c. I would recommend to let one or two of your
engineers learn swift and implement theses. It is easy to do and will take
less time than porting Hero to objectiveC.
…On Mon, Jan 23, 2017 at 10:57 PM Luca ***@***.***> wrote:
yap cause our team has a lot of Engineers who are not so familiar with
swift, but we really wanna use Hero in our project, it's so cool.
Also the OC version will make more easy for us to maintain or develop some
new plugins
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#53 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ADNEajCKHUWtHJOpgGtjH72XMTirztr9ks5rVXaRgaJpZM4LqRlv>
.
|
<Hero/Hero-Swift.h> file not found when I use “ pod 'Hero' ”. Any suggestion? |
our team want to import Hero into our project, but we want an OC version that may easy to maintain by us. :)
so I want to make an OC version from this repo, the copyright will still your's, I'll work as a translator
The text was updated successfully, but these errors were encountered: