Mark HTML Range’s default initializer as unavailable

This commit is contained in:
iska
2016-12-29 22:54:39 +01:00
parent fb04d49693
commit 6da3f7bd49
+5
View File
@@ -61,6 +61,11 @@ typedef NS_ENUM(unsigned short, HTMLRangeComparisonMethod)
*/
@property (nonatomic, readonly, weak) HTMLNode *commonAncestorContainer;
/**
@abstract A range is always associated with a HTML Document. Use `initWithDocument:` initializer instead.
*/
- (instancetype)init NS_UNAVAILABLE;
/**
Initializes a new range instance for the given document.