Cocoa dylib access by C program
Cocoa dylib access by C program
- Subject: Cocoa dylib access by C program
- From: Carl Hoefs via Cocoa-dev <email@hidden>
- Date: Fri, 13 Nov 2020 11:16:23 -0800
I have built an ObjC/Cocoa/Foundation library.dylib; it works well when linked
with ObjC apps.
But now I need to link a C program against that library. How do I invoke the
ObjC library methods from a C program? (I know I can add C function entry
points to the library, but how do they invoke the internal ObjC library
methods?)
-Carl
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden