Add CSS Simple Selector protocol to the Type & Attribute selectors
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "CSSSelector.h"
|
||||
#import "CSSSimpleSelector.h"
|
||||
|
||||
typedef NS_ENUM(NSUInteger, CSSAttributeSelectorType)
|
||||
{
|
||||
@@ -20,7 +21,7 @@ typedef NS_ENUM(NSUInteger, CSSAttributeSelectorType)
|
||||
CSSAttributeSelectorHyphen
|
||||
};
|
||||
|
||||
@interface CSSAttributeSelector : CSSSelector
|
||||
@interface CSSAttributeSelector : CSSSelector <CSSSimpleSelector>
|
||||
|
||||
@property (nonatomic, assign) CSSAttributeSelectorType type;
|
||||
@property (nonatomic, copy) NSString *name;
|
||||
|
||||
@@ -7,5 +7,6 @@
|
||||
//
|
||||
|
||||
#import "CSSSelector.h"
|
||||
#import "CSSSimpleSelector.h"
|
||||
#import "CSSTypeSelector.h"
|
||||
#import "CSSAttributeSelector.h"
|
||||
|
||||
@@ -8,8 +8,9 @@
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "CSSSelector.h"
|
||||
#import "CSSSimpleSelector.h"
|
||||
|
||||
@interface CSSTypeSelector : CSSSelector
|
||||
@interface CSSTypeSelector : CSSSelector <CSSSimpleSelector>
|
||||
|
||||
@property (nonatomic, copy) NSString *type;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user