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

Highlight nullable / nonnull / __block keywords #13

Open
JosephPecoraro opened this issue Dec 3, 2016 · 0 comments
Open

Highlight nullable / nonnull / __block keywords #13

JosephPecoraro opened this issue Dec 3, 2016 · 0 comments

Comments

@JosephPecoraro
Copy link

Nullable syntax has existed since Xcode 7. I would expect the nullable, nonnull, _Nullable, _Nonnull keywords to be highlighted in some way (probably like other variable modifiers).

@interface A
- (void)method1:(nullable NSString *)string;
- (void)method2:(nonnull NSString *)string;
- (AAPLListItem * _Nullable)method3:(NSString * _Nonnull)name;
@property (copy, nullable) NSString *string;
@end

On a related note, I'd also expect the same with __block keyword which has been around much longer:

__block int x = 123;
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

1 participant