Apache Cordova plugin for iOS

How easy is it to use OpenFL to compile a Cordova plugin from HaXe code. Any help would be much appreciated.

Is the plugin written in C, C++, Objective-C? JavaScript?

I want to compile my haxe code into a plugin, so it is written in haxe…
But if you mean which platform, then iOS so haxe compiled to objective C

You can use Haxe to compile C++ and include it in another system, but there are some things you need to do to boot up the Haxe C++ environment