Skip to content

Add a swift example #208

Closed
dart-archive/ffigen
#441
@liamappelbe

Description

@liamappelbe

Swift support (almost) already works, building on ObjC. Add an example.

Swift command to generate the dylib and objc wrapper header:

swiftc -c foo.swift -emit-objc-header-path foo.h -emit-library

Then we can run ffigen on foo.h to get the Dart bindings.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions