Skip to content
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

Support the optional property attributes in mtl_copyPropertyAttributes #899

Closed
zhaorui opened this issue Apr 1, 2024 · 1 comment
Closed
Labels

Comments

@zhaorui
Copy link

zhaorui commented Apr 1, 2024

As of macOS 14.4, Xcode 15, optional property such as a debugDescription now is encoded with '?'
Let's take a look the example of debugDescription.

@protocol NSObject
@optional
@property (readonly, copy) NSString *debugDescription;
@end

Its property description is T@"NSString",?,R,C, since the '?' is unknown to Mantle, Here comes a lot of log like:

ERROR: Unrecognized attribute string flag '?' in attribute string "T@"NSString",?,R,C" for property debugDescription

I suggest Mantle to support this optional attribute of property for suppressing these log.

Declared Properties

Copy link

github-actions bot commented May 1, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label May 1, 2024
@github-actions github-actions bot closed this as completed May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants
@zhaorui and others