Skip to content

Commit 075d91d

Browse files
committed
CM-965: Default implementation for bundle and namespace updated.
1 parent 054f509 commit 075d91d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Sources/YCoreUI/Protocols/ImageAsset.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,9 @@ public protocol ImageAsset {
3131
}
3232

3333
extension ImageAsset {
34+
/// The bundle containing the image assets (default is `.main`)
35+
public static var bundle: Bundle { .main }
36+
37+
/// Optional namespace for the image assets (default is `nil`)
38+
public static var namespace: String? { nil }
3439
}

0 commit comments

Comments
 (0)