Skip to content
This repository was archived by the owner on Jun 25, 2025. It is now read-only.

[ObjC] Improve naming of arguments to Objective-C methods#69

Merged
0cyn merged 1 commit into
Vector35:masterfrom
bdash:objc-argument-naming
Jun 5, 2025
Merged

[ObjC] Improve naming of arguments to Objective-C methods#69
0cyn merged 1 commit into
Vector35:masterfrom
bdash:objc-argument-naming

Conversation

@bdash
Copy link
Copy Markdown

@bdash bdash commented May 4, 2025

Detect and remove common prefixes used on selectors so that their arguments are more naturally named. For instance, a selector of initWithURL:withStagedURL: now ends up with arguments named URL and stagedURL, rather than initWithURL and withStagedURL.

See also Vector35/binaryninja-api#6790.

Detect and remove common prefixes used on selectors so that their
arguments are more naturally named. For instance, a selector of
`initWithURL:withStagedURL`: now ends up with arguments named `URL` and
`stagedURL`, rather than `initWithURL` and `withStagedURL`.
@0cyn 0cyn merged commit 2040c37 into Vector35:master Jun 5, 2025
@0cyn
Copy link
Copy Markdown

0cyn commented Jun 5, 2025

Merged to repo, this will land in the product alongside the call rewrite PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants