When linking against SharkORM using CocoaPods, Xcode reports warnings in SharkORM.h due to missing nullability type specifier:
Warning: Pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) File: Pods/SharkORM/SharkORM/SharkORM.h:261
The issue is related to these lines of code:
@interface SRKRelationship : NSObject {
}
@property Class sourceClass;
@property Class targetClass;
After studying the code, it appears SharkORM expects that these properties could be nil at some point so I think the solution to remove these compilation warnings would be:
@interface SRKRelationship : NSObject {
}
@property Class _Nullable sourceClass;
@property Class _Nullable targetClass;
Will submit a PR.
When linking against SharkORM using CocoaPods, Xcode reports warnings in SharkORM.h due to missing nullability type specifier:
Warning: Pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) File: Pods/SharkORM/SharkORM/SharkORM.h:261The issue is related to these lines of code:
@interface SRKRelationship : NSObject { } @property Class sourceClass; @property Class targetClass;After studying the code, it appears SharkORM expects that these properties could be nil at some point so I think the solution to remove these compilation warnings would be:
@interface SRKRelationship : NSObject { } @property Class _Nullable sourceClass; @property Class _Nullable targetClass;Will submit a PR.