FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
NSMacro.h
Go to the documentation of this file.
1 //
2 // NSMacros.h
3 // FoundationExtension
4 //
5 // Created by Jeong YunWon on 2016. 3. 21..
6 // Copyright © 2016년 youknowone.org. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 
11 
12 #if !defined(NS_ASSUME_NONNULL_BEGIN)
13 #define NS_ASSUME_NONNULL_BEGIN
14 #define NS_ASSUME_NONNULL_END
15 #endif
16 
17 #if !defined(_Nullable)
18 #define _Nullable
19 #define _Nonnull
20 #define nullable
21 #define nonnull
22 #endif
23 
24 #if !__has_feature(nullability)
25 #define __nullable
26 #endif