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

static declaration of 'CGRectGetCenter' follows non-static declaration #34

Open
CCat00 opened this issue Dec 5, 2016 · 2 comments
Open

Comments

@CCat00
Copy link

CCat00 commented Dec 5, 2016

property cannot have array or function type 'BOOL (())' (aka 'bool ()')

static inline CGPoint CGRectGetCenter(CGRect rect) {
return CGPointMake(CGRectGetMidX(rect), CGRectGetMidY(rect));
}
static declaration of 'CGRectGetCenter' follows non-static declaration

你好,我工程里报错,请问是什么原因?

@liujieyuu
Copy link

我也遇到这个问题了,请问你解决了吗?

@liujieyuu
Copy link

@hanwp

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

No branches or pull requests

2 participants