Repository navigation
ffigen-v19.0.0
·
753 commits
to main
since this release
- Use package:objective_c 8.0.0.
- Breaking change: Major change to the way ObjC methods are code-genned.
Methods now use named parameters, making them more readable and closer to how
they're written in ObjC. For example, theNSDatamethod
dataWithBytes:length:used to be generated as
dataWithBytes_length_(Pointer<Void> bytes, int length), but is now generated
asdataWithBytes(Pointer<Void> bytes, {required int length}). Protocol
methods are not affected.- Migration tip: A quick way to find affected methods is to search for
_(.
- Migration tip: A quick way to find affected methods is to search for
- Make it easier for a downstream clone to change behavior of certain utils.
- Fix a bug where types could
occasionally show up as a generic ObjCObjectBase, when they were supposed to
be codegenned as a more specific interface types.