-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve Darwin framework APIs to follow Objective-C conventions bette…
…r. (#11957) Specific changes: 1) Rename Payload structs to Params structs. 2) For commands with no fields, have the name be fooWithCompletionHandler and no params struct. 3) For commands with only optional fields, allow the params struct to be nil. 4) Rename "responseHandler" to "completionHandler" so that we get the behavior described in https://developer.apple.com/documentation/swift/calling_objective-c_apis_asynchronously
- Loading branch information
1 parent
633937f
commit ccb0801
Showing
17 changed files
with
3,758 additions
and
4,773 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.