devkitPro / pacman-packages

https://devkitpro.org
131 stars 104 forks source link

switch: Add objfw #318

Open Midar opened 11 months ago

Midar commented 11 months ago

This adds objfw for switch to allow using Objective-C for Switch development.

WinterMute commented 10 months ago

While I commend your enthusiasm and persistence with Objective C I don't really understand how this is actually useful for the users of our toolchains on our supported platforms. Can you write a game with this? How do you go about using the platform libraries we supply and the other portlibs?

Midar commented 10 months ago

Yes, it absolutely can be used to write a game! That's the entire point of proposing to import it. Using platform libraries and portlibs is no problem either, it's just the same as with C++ - in fact, it's even more compatible as with C++ (unlike C++, it's a strict superset of C and not just mostly a superset of C). Basically, consider this to be "Add libsupc++, libstdc++ and boost", except for ObjC instead of C++.

Midar commented 10 months ago

@WinterMute So, should I update this to 1.0.5 or will it be rejected?

WinterMute commented 10 months ago

Some example code and a few more people interested in playing with Objective C would help. It's hard to know what to do with something I've never used and few people are asking for.