Skip to content

Commit

Permalink
Added nodoc annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
mchoe committed Oct 16, 2019
1 parent 77f8112 commit 46761e6
Show file tree
Hide file tree
Showing 126 changed files with 164 additions and 156 deletions.
2 changes: 2 additions & 0 deletions SwiftSVG/SVG Extensions/CALayer+SVG.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public extension CALayer {
}
}

/// :nodoc:
@available(*, deprecated, renamed: "init(svgURL:parser:completion:)")
@discardableResult
convenience init(SVGURL: URL, parser: SVGParser? = nil, completion: @escaping (SVGLayer) -> ()) {
Expand Down Expand Up @@ -111,6 +112,7 @@ public extension CALayer {
}
}

/// :nodoc:
@available(*, deprecated, renamed: "init(svgData:parser:completion:)")
@discardableResult
convenience init(SVGData: Data, parser: SVGParser? = nil, completion: @escaping (SVGLayer) -> ()) {
Expand Down
1 change: 1 addition & 0 deletions SwiftSVG/SVG Extensions/SVGView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ open class SVGView : UIView {
}
}

/// :nodoc:
@available(*, deprecated, renamed: "svgName")
open var SVGName: String?
}
Expand Down
2 changes: 1 addition & 1 deletion SwiftSVG/SVG Extensions/UIBezierPath+SVG.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public extension UIBezierPath {
#endif
}


/// :nodoc:
@available(*, deprecated, message: "This method is deprecated. If you want to parse a single path, instantiate a new instance of SVGPath using the SVGPath(singlePathString:) initializer and pass the path string.")
class func pathWithSVGURL(_ SVGURL: URL) -> UIBezierPath? {
assert(false, "This method is deprecated")
Expand Down
3 changes: 3 additions & 0 deletions SwiftSVG/SVG Extensions/UIView+SVG.swift
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ public extension UIView {
}
}

/// :nodoc:
@available(*, deprecated, renamed: "init(svgNamed:parser:completion:)")
convenience init(SVGNamed: String, parser: SVGParser? = nil, completion: ((SVGLayer) -> ())? = nil) {
self.init(svgNamed: SVGNamed, parser: parser, completion: completion)
Expand Down Expand Up @@ -144,6 +145,7 @@ public extension UIView {
}
}

/// :nodoc:
@available(*, deprecated, renamed: "init(svgURL:parser:completion:)")
convenience init(SVGURL: URL, parser: SVGParser? = nil, completion: ((SVGLayer) -> ())? = nil) {
self.init(svgURL: SVGURL, parser: parser, completion: completion)
Expand Down Expand Up @@ -171,6 +173,7 @@ public extension UIView {
}
}

/// :nodoc:
@available(*, deprecated, renamed: "init(svgData:parser:completion:)")
convenience init(SVGData svgData: Data, parser: SVGParser? = nil, completion: ((SVGLayer) -> ())? = nil) {
self.init(svgData: svgData, parser: parser, completion: completion)
Expand Down
2 changes: 2 additions & 0 deletions SwiftSVG/SVG/Parser/NSXMLSVGParser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ open class NSXMLSVGParser: XMLParser, XMLParserDelegate {
}
}

/// :nodoc:
@available(*, deprecated, renamed: "init(svgURL:supportedElements:completion:)")
public convenience init(SVGURL: URL, supportedElements: SVGParserSupportedElements? = nil, completion: ((SVGLayer) -> ())? = nil) {
self.init(svgURL: SVGURL, supportedElements: supportedElements, completion: completion)
Expand All @@ -116,6 +117,7 @@ open class NSXMLSVGParser: XMLParser, XMLParserDelegate {
self.completionBlock = completion
}

/// :nodoc:
@available(*, deprecated, renamed: "init(svgData:supportedElements:completion:)")
public convenience init(SVGData: Data, supportedElements: SVGParserSupportedElements? = SVGParserSupportedElements.allSupportedElements, completion: ((SVGLayer) -> ())? = nil) {
self.init(svgData: SVGData, supportedElements: supportedElements, completion: completion)
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/NSXMLSVGParser.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/SVGCache.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/SVGCircle.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/SVGEllipse.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/SVGGroup.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/SVGLayer.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/SVGLine.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/SVGPath.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/SVGRectangle.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/SVGView.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Enums.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Extensions.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Extensions/BinaryFloatingPoint.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Extensions/CALayer.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Extensions/CAShapeLayer.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Extensions/CGFloat.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Extensions/Dictionary.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Extensions/DispatchQueue.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Extensions/Double.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Extensions/Float.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Extensions/FloatingPoint.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Extensions/String.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Protocols.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Protocols/CanManageAsychronousParsing.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Protocols/DelaysApplyingAttributes.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Protocols/Fillable.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Protocols/ParsesAsynchronously.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Protocols/PathCommand.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Protocols/PreviousCommand.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Protocols/SVGContainerElement.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Protocols/SVGElement.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Protocols/SVGLayerType.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Protocols/SVGParser.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Protocols/SVGShapeElement.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/Protocols/StackType.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a class="header-link" href="../index.html">
SwiftSVG Docs
</a>
(79% documented)
(80% documented)
</p>

<p class="header-col--secondary">
Expand Down
Loading

0 comments on commit 46761e6

Please sign in to comment.