We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54f4976 commit cd47d7eCopy full SHA for cd47d7e
1 file changed
Sources/CEExtensionKit/ExtensionInterface.swift
@@ -9,18 +9,15 @@ import Foundation
9
10
/// A protocol for extensions to conform to
11
public protocol ExtensionInterface {
12
-
13
- /// Initializes extension with API
14
- /// - Parameter withAPI: the API implementation itself
15
- init(withAPI api: ExtensionAPI) throws
16
17
}
18
19
open class ExtensionBuilder {
20
21
public init() {}
22
23
- open func build() -> ExtensionInterface {
+ /// Builds extension with API
+ /// - Parameter withAPI: the API implementation itself
+ open func build(withAPI api: ExtensionAPI) -> ExtensionInterface {
24
fatalError("You should override ExtensionBuilder.build")
25
26
0 commit comments