The fltk port to android works quite well (after adapting to some resolution issues). It would be great if fltk would also target iOS.
My initial trial to build fltk for iOS, some issues appear. Some headers aren’t available on iOS like:
- ApplicationServices, however most functions and types are also present in the CoreGraphics header.
- The Cocoa header will have to be replaced with UIKit headers.
- Most Cocoa types have an NS prefix while corresponding UIKit types have a UI prefix. Maybe this could be addressed with some ifdefs or by conditional compilation using the cocoa header for macos vs the uikit header for ios, this can be done by including the TargetConditionals header, then checking for TARGET_OS_OSX vs TARGET_OS_IOS. Or maybe by creating a separate ios driver, however the cmake scripts would have to replace APPLE with CMAKE_SYSTEM_NAME STREQUAL Darwin/iOS.
I would be interested to know if anyone was able to build for iOS and if they could provide input.
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/b05e9fe0-40ff-4d1e-a21a-558bbff3cc26o%40googlegroups.com.
[ Direct Link to Message ]