Swift/C++ data transfer

Job ID: 38600903

Budget: $20 – $40 NZD

I have a class in C++ that processes an array of numbers of type long. Each long corresponds to an ARGB value, where each byte has a value for A, R, G, and B. Long is not a data type in Swift, but the closest in this context is UInt32 (I think?).

I need to be able to instantiate the class (in C++ or Swift), pass data to it from Swift, have it process the data, then return the data back in a format (likely Uint32) that Swift can process.

I have attached file the classes and a sample main function to give you an idea of the order of operations that you will need to do in Swift. Here is what I need your code to do:

1) Instantiate an instance of this C++ class and pass in from Swift a Uint32 array and the size of the array.
2) Process the array as an array of type long on the C++ side.
3) Return back an array of Uint32 values.

Please write Hello World on top of the proposal.
Related categories: iPhone Objective C C++ Programming Swift