//
//  CSSTypeSelector.h
//  HTMLKit
//
//  Created by Iska on 13/05/15.
//  Copyright (c) 2015 BrainCookie. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CSSSelector.h"
#import "CSSSimpleSelector.h"

@interface CSSTypeSelector : CSSSelector <CSSSimpleSelector>

@property (nonatomic, copy) NSString * _Nonnull type;

+ (nullable instancetype)universalSelector;

- (nullable instancetype)initWithType:(nonnull NSString *)type;

@end

//
//  CSSTypeSelector.h
//  HTMLKit
//
//  Created by Iska on 13/05/15.
//  Copyright (c) 2015 BrainCookie. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CSSSelector.h"
#import "CSSSimpleSelector.h"

@interface CSSTypeSelector : CSSSelector <CSSSimpleSelector>

@property (nonatomic, copy) NSString *type;

+ (instancetype)universalSelector;

- (instancetype)initWithType:(NSString *)type;

@end

--- 
+++ 
@@ -12,10 +12,10 @@
 
 @interface CSSTypeSelector : CSSSelector <CSSSimpleSelector>
 
-@property (nonatomic, copy) NSString *type;
+@property (nonatomic, copy) NSString * _Nonnull type;
 
-+ (instancetype)universalSelector;
++ (nullable instancetype)universalSelector;
 
-- (instancetype)initWithType:(NSString *)type;
+- (nullable instancetype)initWithType:(nonnull NSString *)type;
 
 @end
Add nullability specifiers to type selector
