How to write cross-platform C library and link it with iOS app? -


i need lib kind of caching. must cross-platform reuse on linux/windows/ios. how do that?

if want this, need put platform specific code inside #ifdef allow code compiled on different platforms. might easier create 1 common c library same across platforms , 3 separate c libraries handle platform specific code.

i think code easier read , manage way.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -