Skip to content

Commit

Permalink
[objective_c] Add a bunch more categories to the bindings (#1875)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamappelbe authored Jan 15, 2025
1 parent a650ccb commit 87ef391
Show file tree
Hide file tree
Showing 6 changed files with 1,524 additions and 7 deletions.
4 changes: 4 additions & 0 deletions pkgs/ffigen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 17.0.0-wip

- Use package:objective_c 5.0.0

## 16.1.0

- Ensure that required symbols are available to FFI even when the final binary
Expand Down
4 changes: 2 additions & 2 deletions pkgs/ffigen/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# BSD-style license that can be found in the LICENSE file.

name: ffigen
version: 16.1.0
version: 17.0.0-wip
description: >
Generator for FFI bindings, using LibClang to parse C, Objective-C, and Swift
files.
Expand Down Expand Up @@ -41,7 +41,7 @@ dev_dependencies:
dart_flutter_team_lints: ^2.0.0
json_schema: ^5.1.1
leak_tracker: ^10.0.7
objective_c: ^4.1.0
objective_c: ^5.0.0
test: ^1.16.2

dependency_overrides:
Expand Down
4 changes: 4 additions & 0 deletions pkgs/objective_c/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 5.0.0-wip

- Add various ObjC categories (extension methods) to the built in classes.

## 4.1.0

- Use ffigen 16.1.0
Expand Down
11 changes: 11 additions & 0 deletions pkgs/objective_c/ffigen_objc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,18 @@ objc-protocols:
objc-categories:
include:
- NSDataCreation
- NSExtendedArray
- NSExtendedData
- NSExtendedDate
- NSExtendedDictionary
- NSExtendedEnumerator
- NSExtendedMutableArray
- NSExtendedMutableData
- NSExtendedMutableDictionary
- NSExtendedMutableOrderedSet
- NSExtendedMutableSet
- NSExtendedOrderedSet
- NSExtendedSet
- NSNumberCreation
- NSStringExtensionMethods
structs:
Expand Down
Loading

0 comments on commit 87ef391

Please sign in to comment.