i created with Oxygene a static library for OSX with following class:
namespace ClassLibraryNET;
interface
type
Class1 = public class
private
protected
public
method Sum(a,b : Integer) : Integer;
end;
implementation
method Class1.Sum(a: Integer; b: Integer): Integer;
begin
Result := a+b;
end;
end.
how can i use this class in a an xcode swift commandline project?
i added the generated StaticLibraryOSX.a to the project, but now, how can i import the Class1 ?
sorry for the beginner question…