Skip to content

Commit 8f3d572

Browse files
everlofleogdion
authored andcommitted
Make AssetSpecificationBuilder public as well as its init
1 parent f2e9a61 commit 8f3d572

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Sources/AssetLib/Models/AssetSpecificationBuilder.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Foundation
22

3-
struct AssetSpecificationBuilder: AssetSpecificationProtocol {
3+
public struct AssetSpecificationBuilder: AssetSpecificationProtocol {
44
/**
55
A different version of an image for each Apple Watch screen size.
66
*/
@@ -51,7 +51,8 @@ struct AssetSpecificationBuilder: AssetSpecificationProtocol {
5151

5252
/// Specific appearances supported by the asset.
5353
public var appearances: [AnyAppearance]
54-
init(specifications: AssetSpecificationProtocol) {
54+
55+
public init(specifications: AssetSpecificationProtocol) {
5556
idiom = specifications.idiom
5657
scale = specifications.scale
5758
size = specifications.size

0 commit comments

Comments
 (0)