-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Darwin framework APIs to follow Objective-C conventions better. #11957
Merged
bzbarsky-apple
merged 1 commit into
project-chip:master
from
bzbarsky-apple:darwin-api-rename
Nov 22, 2021
Merged
Improve Darwin framework APIs to follow Objective-C conventions better. #11957
bzbarsky-apple
merged 1 commit into
project-chip:master
from
bzbarsky-apple:darwin-api-rename
Nov 22, 2021
Conversation
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
pullapprove
bot
requested review from
andy31415,
austinh0,
balducci-apple,
carol-apple,
chrisdecenzo,
chulspro,
Damian-Nordic,
electrocucaracha,
emargolis,
erjiaqing,
franck-apple,
harimau-qirex,
hawk248,
holbrookt,
jelderton,
jepenven-silabs,
jmartinez-silabs,
LuDuda,
lzgrablic02,
msandstedt,
pan-apple,
sagar-apple,
saurabhst,
selissia,
tcarmelveilleux,
tecimovic,
turon and
vivien-apple
November 18, 2021 06:00
pullapprove
bot
requested review from
wbschiller,
woody-apple and
yufengwangca
November 18, 2021 06:00
PR #11957: Size comparison from 2b52b36 to 4839b00 Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
bzbarsky-apple
changed the title
Improve Darwin framwework APIs to follow Objective-C conventions better.
Improve Darwin framework APIs to follow Objective-C conventions better.
Nov 18, 2021
bzbarsky-apple
force-pushed
the
darwin-api-rename
branch
from
November 18, 2021 19:03
4839b00
to
a5f351b
Compare
PR #11957: Size comparison from ef6455d to a5f351b Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
anush-apple
approved these changes
Nov 18, 2021
bzbarsky-apple
force-pushed
the
darwin-api-rename
branch
from
November 20, 2021 06:30
a5f351b
to
33591c1
Compare
PR #11957: Size comparison from 5f847e0 to 33591c1 Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
bzbarsky-apple
force-pushed
the
darwin-api-rename
branch
from
November 20, 2021 08:12
33591c1
to
59876cb
Compare
PR #11957: Size comparison from 6cb75f4 to 59876cb Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
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
bzbarsky-apple
force-pushed
the
darwin-api-rename
branch
from
November 22, 2021 16:50
59876cb
to
0c4e230
Compare
PR #11957: Size comparison from aa8a6d0 to 0c4e230 Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
andy31415
approved these changes
Nov 22, 2021
fast track: platform specific changes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Specific changes:
no params struct.
behavior described in
https://developer.apple.com/documentation/swift/calling_objective-c_apis_asynchronously
Problem
See above.
Change overview
See above.
Testing
No behavior changes intended.