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

Properties with class attributes appear to not work. #2806

Closed
Tracked by #2838
calbot opened this issue Oct 23, 2017 · 2 comments
Closed
Tracked by #2838

Properties with class attributes appear to not work. #2806

calbot opened this issue Oct 23, 2017 · 2 comments

Comments

@calbot
Copy link

calbot commented Oct 23, 2017

I get the following error message...
Build error unknown property attribute 'class'

For this line
@property (class, nonatomic, strong, readonly) DDLog *sharedInstance;

Does WinObjC support class properties?
https://useyourloaf.com/blog/objective-c-class-properties/

@MSFTFox
Copy link
Member

MSFTFox commented Oct 23, 2017

WinObjc ships with Clang version 3.7. This predates the availability of class properties.

@DHowett-MSFT
Copy link

Fixed with #2869

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants