Add missing lightweight generics in Parser, Element & Node classes

To play nicely with Swift 3
This commit is contained in:
iska
2016-09-20 19:28:08 +02:00
parent 7d1b94219d
commit 7e42fd1e08
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
An array of errors that occurred during document parsing.
*/
@property (nonatomic, strong, readonly) NSArray *parseErrors;
@property (nonatomic, strong, readonly) NSArray<NSString *> *parseErrors;
/**
The parsed HTML Document.
@@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN
@see HTMLElement
*/
- (NSArray *)parseFragmentWithContextElement:(HTMLElement *)contextElement;
- (NSArray<HTMLNode *> *)parseFragmentWithContextElement:(HTMLElement *)contextElement;
@end