Skip to content

[CommonLib] Replace deprecated method_getDescription with method_getTypeEncoding#2160

Open
strangewiz wants to merge 2 commits into
google:earlgrey2from
strangewiz:earlgrey2
Open

[CommonLib] Replace deprecated method_getDescription with method_getTypeEncoding#2160
strangewiz wants to merge 2 commits into
google:earlgrey2from
strangewiz:earlgrey2

Conversation

@strangewiz

Copy link
Copy Markdown

In Xcode 27, method_getDescription is deprecated and causes a
compilation failure when building with -Werror.

Since class_addMethod only requires the method type encoding string,
use method_getTypeEncoding directly instead.

…ypeEncoding

In Xcode 27, method_getDescription is deprecated and causes a
compilation failure when building with -Werror.

Since class_addMethod only requires the method type encoding string,
use method_getTypeEncoding directly instead.
[CommonLib] Replace deprecated method_getDescription with method_getTypeEncoding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant