MagineKit
public class MagineKit
MagineKit instantiate controllers.
-
RootViewController The main point of entry into the MagineKit SDK, will allow traversing the content across multiple nested viewcontrollers of various types. It uses all the other controllers listed below.
Declaration
Swift
public func makeRootViewController(usingAPIPath path: String) -> UIViewController?
-
RootViewController The main point of entry into the MagineKit SDK, will allow traversing the content across multiple nested viewcontrollers of various types.
Declaration
Swift
public func makeRootViewController(usingViewModel viewModel: RootViewModel) -> UIViewController?
-
ViewableCardViewController
Attention
UICollectionView
Declaration
Swift
public func makeViewableCardViewController(usingViewModel viewModel: ViewableCardViewModel, underLayout layout:UICollectionViewLayout = UICollectionViewFlowLayout()) -> UIViewController
-
ViewableListViewController
Attention
UITableView
Declaration
Swift
public func makeViewableListViewController(usingViewModel viewModel: ViewableListViewModel) -> UIViewController
-
CategoryImageViewController
Attention
UICollectionView
Declaration
Swift
public func makeCategoryImageViewController(usingViewModel viewModel: CategoryImageViewModel) -> UIViewController
-
SearchViewableListViewController
Attention
UITableView
Declaration
Swift
public func makeSearchViewableListViewController(usingViewModel viewModel: SearchViewableListViewModel) -> UIViewController
-
PlayerContainerViewController
Attention
Will be removed in later versionsDeclaration
Swift
public func makePlayerController(withViewable viewable: Viewable) -> UIViewController
-
Factory to create a
iNativePlayer
that holds aUIView
as aplayView
properties. Initializer.- parameters:
- parameters:
iPlayerEvent
.
Declaration
Swift
public func makePlayer(withPlayerEvent playerEvent: iPlayerEvent?) -> iNativePlayer