Noesis / cocos2d-x-bindings

Cocos2d-x bindings for NoesisGUI
13 stars 3 forks source link

CoreFoundation dependency? #1

Open Mazyod opened 9 years ago

Mazyod commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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 :)