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

CoreFoundation dependency? #1

Open
Mazyod opened this issue Aug 25, 2015 · 2 comments
Open

CoreFoundation dependency? #1

Mazyod opened this issue Aug 25, 2015 · 2 comments

Comments

@Mazyod
Copy link

Mazyod commented Aug 25, 2015

Hi,

There seem to be a dependency on CoreFoundation?
https://github.com/Noesis/cocos2d-x-bindings/blob/master/NoesisGUINode.cpp#L3

It seems that the header is included using an import statement (reminds me of ObjC), and if that is Apple's framework, this makes the bindings platform dependent.

Am I missing something here?

Thanks,

@s-fernandez-v
Copy link

Hi,

There is indeed a dependency to CoreFoundation. This is just temporal as we initially implemented and tested the integration for iOS, but will improve it to be platform independent as soon as possible.

Thanks for pointing this out.

Regards.

@Mazyod
Copy link
Author

Mazyod commented Aug 26, 2015

Got it, I should've looked more deeply at CFBundle. Indeed, locating resources can be a task, but cocos2d-x makes it quite simple using FileUtils.

Looking forward to seeing this platform independent :)

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