jmcnamara / libxlsxwriter

A C library for creating Excel XLSX files.
https://libxlsxwriter.github.io
Other
1.48k stars 332 forks source link

Utility.h macros not available with cocoapods in iOS #367

Closed tekayamarouene closed 2 years ago

tekayamarouene commented 2 years ago

Hello team,

I am using libxlsxwriter with cocoapods. My problem is that i can't use macros in the Utility.h file like CELL("A1"). I am using OS = iOS and libxlsxwriter 1.1.4 with swift language. For the sample code you can use this repository: https://github.com/FrankenApps/LibXlsxWriterSwiftSample

Thank you

jmcnamara commented 2 years ago

Isn't that because C macros aren't available in Swift:

Using Imported C Macros in Swift

C macros that are more complex than simple constant definitions have no counterpart in Swift.

tekayamarouene commented 2 years ago

Isn't that because C macros aren't available in Swift:

Using Imported C Macros in Swift

C macros that are more complex than simple constant definitions have no counterpart in Swift.

yes this is right. Thank you for your quick response.