TVMLKit Changes for Swift
TVMLKit
Modified TVInterfaceCreating
Declaration | |
---|---|
From | protocol TVInterfaceCreating : NSObjectProtocol { optional func viewForElement(_ element: TVViewElement, existingView existingView: UIView?) -> UIView? optional func viewControllerForElement(_ element: TVViewElement, existingViewController existingViewController: UIViewController?) -> UIViewController? optional func URLForResource(_ resourceName: String) -> NSURL? } |
To | protocol TVInterfaceCreating : NSObjectProtocol { optional func viewForElement(_ element: TVViewElement, existingView existingView: UIView?) -> UIView? optional func viewControllerForElement(_ element: TVViewElement, existingViewController existingViewController: UIViewController?) -> UIViewController? optional func URLForResource(_ resourceName: String) -> NSURL? optional func imageForResource(_ resourceName: String) -> UIImage? } |