[CM-901] Updated CreateCatalogViewer method in catalogfactory
This commit is contained in:
parent
d80da8e3b3
commit
a019636791
|
@ -23,8 +23,8 @@ public enum CatalogFactory {
|
||||||
/// - navigationTitle: title of the catalog
|
/// - navigationTitle: title of the catalog
|
||||||
/// - embedInNavigationController: whether the view controller should be embedded in navigationController or not
|
/// - embedInNavigationController: whether the view controller should be embedded in navigationController or not
|
||||||
/// - Returns: A catalog viewer view controller
|
/// - Returns: A catalog viewer view controller
|
||||||
public static func createCatalogViewer<T: Classification>(
|
public static func createCatalogViewer(
|
||||||
with categories: [T],
|
with categories: [Classification],
|
||||||
navigationTitle: String? = nil,
|
navigationTitle: String? = nil,
|
||||||
embedInNavigationController: Bool
|
embedInNavigationController: Bool
|
||||||
) -> UIViewController {
|
) -> UIViewController {
|
||||||
|
|
Loading…
Reference in New Issue