CoreSpotlight iOS 10.3 to 11.0 API Differences

CSSearchableIndex.h
Declaration
From- (nonnull instancetype)initWithName:(nonnull NSString *)name protectionClass:(nullable NSString *)protectionClass
To- (nonnull instancetype)initWithName:(nonnull NSString *)name protectionClass:(nullable NSFileProtectionType)protectionClass

CSSearchableItemAttributeSet_General.h
CSSearchQuery.h
Declaration
From@property (copy, nonnull) NSArray<NSString *> *protectionClasses
To@property (copy, nonnull) NSArray<NSFileProtectionType> *protectionClasses