objective_c-v9.0.0
·
26 commits
to main
since this release
- package:objective_c is no longer experimental
- Use FFIgen 20.0.0
- Breaking change: The collection classes,
NSArray,NSSet,
NSDictionary, and their mutable counterparts, no longer directly implement
the corresponding Dart collections. Instead they each have a.toDart()
method that wraps the class in an adapter that implements the Dart collection.
Note that this is a shallow conversion. For deep conversions, continue using
toObjCObjectandtoDartObject. - Breaking change: Rename the internal C types
ObjCObjectand
ObjCProtocoltoObjCObjectImplandObjCProtocolImplrespectively. - Breaking change: Rename the internal Dart types
ObjCObjectBaseand
ObjCProtocolBasetoObjObjectandObjCProtocolrespectively. - Fix missing
NSNumbercategory includes in iOS and macOSobjective_c.m
files. - Add
NSBundleandNSNullto the bindings. - Add
autoReleasePoolfunction. - Fix a bug where
NSMutableDictionary.ofreturned aNSDictionary. - Add
NSErrorExceptionclass.