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

ocrunner 几处不兼容的地方 #16

Open
WyzeHongboZhao opened this issue Jul 26, 2021 · 0 comments
Open

ocrunner 几处不兼容的地方 #16

WyzeHongboZhao opened this issue Jul 26, 2021 · 0 comments
Assignees

Comments

@WyzeHongboZhao
Copy link

WyzeHongboZhao commented Jul 26, 2021

OCRunner 版本号: 1.2.0

OCRunner 目前几处不兼容的地方

  1. long double rotate = 0.0; 不支long double
  2. 不支持if (@available(iOS 10.0, *)) 写法
  3. 不支持@synthesize 写法;
  4. 带两个引号的写法不支持 包括属性和实例变量等。@property (nonatomic, assign) NSInteger selectIndex;;
  5. 协议内不能带空格,不支持
    @interface TargetObject ()
    <
    UITableViewDelegate,
    UITableViewDataSource
    >
    这种写法。
  6. .m 内方法后面不支持带 “;” 冒号写法
    7 不支持泛型
    @interface Target<NSObject> : Parent<NSObject>
    @end
    8 不支持 声明类写法 。例如 @class ClassA, ClassB;
    @protocol Prococol1, Prococol2;
  7. 偶尔将 #pragma mark - CustomMethodDescribtion 这种写法当做语法错误爆出
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