Delphi + IOS: how to import a Const defined in a third party library?

In a third party library I have a definition

FOUNDATION_EXPORT NSString * __nonnull const kFIRInstanceIDTokenRefreshNotification;

      

and I need to import it into delphi so that I can access it under ios at runtime. how to do it? I look at the delphi source code, they do it like this:

FrameworkMod := LoadLibrary(PWideChar(FwkPath));
result := GetProcAddress(FrameworkMod, PWideChar(ConstStr));

      

but how is there a third party library how to do it LoadLibrary(PWideChar(FwkPath));

? which path to use in FwkPath?

+3
ios objective-c delphi


source to share


No one has answered this question yet

See similar questions:

17
Is the "dlopen ()" function a private API?

or similar:

257
How to affect Delphi XEx code generation for Android / ARM targets?
40
How do I import third party frameworks into the Xcode Playground?
28
Delphi search path vs library path and browse path
27
Facebook Paper - which third party libraries are used for which parts of the app?
nine
Delphi Libraries Path
3
Importing 3rd party ZXing library into Xcode
2
Delphi reading data from third party data
1
How to use 3rd party framework depends on dylib for IOS in Delphi Firemonkey
1
Using a 3rd party framework for IOS in Delphi Firemonkey
0
How do I manage a third party library in an iOS project if its source code needs to be modified to be used?



All Articles
Loading...
X
Show
Funny
Dev
Pics