MediaPlayer Changes for Swift
MediaPlayer
Added MPError.cancelled
Added MPError.Code.cancelled
Modified MPError [struct]
| Declaration | |
|---|---|
| From | struct MPError {
init(_nsError _nsError: NSError)
static var _nsErrorDomain: String { get }
enum Code : Int {
typealias _ErrorType = MPError
case unknown
case permissionDenied
case cloudServiceCapabilityMissing
case networkConnectionFailed
case notFound
case notSupported
}
static var unknown: MPError.Code { get }
static var permissionDenied: MPError.Code { get }
static var cloudServiceCapabilityMissing: MPError.Code { get }
static var networkConnectionFailed: MPError.Code { get }
static var notFound: MPError.Code { get }
static var notSupported: MPError.Code { get }
} |
| To | struct MPError {
init(_nsError _nsError: NSError)
static var _nsErrorDomain: String { get }
enum Code : Int {
typealias _ErrorType = MPError
case unknown
case permissionDenied
case cloudServiceCapabilityMissing
case networkConnectionFailed
case notFound
case notSupported
case cancelled
}
static var unknown: MPError.Code { get }
static var permissionDenied: MPError.Code { get }
static var cloudServiceCapabilityMissing: MPError.Code { get }
static var networkConnectionFailed: MPError.Code { get }
static var notFound: MPError.Code { get }
static var notSupported: MPError.Code { get }
static var cancelled: MPError.Code { get }
} |
Modified MPError.Code [enum]
| Declaration | |
|---|---|
| From | enum Code : Int {
typealias _ErrorType = MPError
case unknown
case permissionDenied
case cloudServiceCapabilityMissing
case networkConnectionFailed
case notFound
case notSupported
} |
| To | enum Code : Int {
typealias _ErrorType = MPError
case unknown
case permissionDenied
case cloudServiceCapabilityMissing
case networkConnectionFailed
case notFound
case notSupported
case cancelled
} |
Modified MPMediaLibrary
| Declaration | |
|---|---|
| From | class MPMediaLibrary : NSObject, NSSecureCoding {
class func `default`() -> MPMediaLibrary
var lastModifiedDate: Date { get }
func beginGeneratingLibraryChangeNotifications()
func endGeneratingLibraryChangeNotifications()
class func authorizationStatus() -> MPMediaLibraryAuthorizationStatus
class func requestAuthorization(_ handler: @escaping (MPMediaLibraryAuthorizationStatus) -> Swift.Void)
func addItem(withProductID productID: String, completionHandler completionHandler: (@escaping ([MPMediaEntity], Error?) -> Swift.Void)? = nil)
func getPlaylist(with uuid: UUID, creationMetadata creationMetadata: MPMediaPlaylistCreationMetadata?, completionHandler completionHandler: @escaping (MPMediaPlaylist?, Error?) -> Swift.Void)
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension MPMediaLibrary : CVarArg {
}
extension MPMediaLibrary : Equatable, Hashable {
var hashValue: Int { get }
} |
| To | class MPMediaLibrary : NSObject, NSSecureCoding {
class func `default`() -> MPMediaLibrary
var lastModifiedDate: Date { get }
func beginGeneratingLibraryChangeNotifications()
func endGeneratingLibraryChangeNotifications()
class func authorizationStatus() -> MPMediaLibraryAuthorizationStatus
class func requestAuthorization(_ handler: @escaping (MPMediaLibraryAuthorizationStatus) -> Swift.Void)
func addItem(withProductID productID: String, completionHandler completionHandler: (([MPMediaEntity], Error?) -> Swift.Void)? = nil)
func getPlaylist(with uuid: UUID, creationMetadata creationMetadata: MPMediaPlaylistCreationMetadata?, completionHandler completionHandler: @escaping (MPMediaPlaylist?, Error?) -> Swift.Void)
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension MPMediaLibrary : CVarArg {
}
extension MPMediaLibrary : Equatable, Hashable {
var hashValue: Int { get }
} |
| Declaration | |
|---|---|
| From | func addItem(withProductID productID: String, completionHandler completionHandler: (@escaping ([MPMediaEntity], Error?) -> Swift.Void)? = nil) |
| To | func addItem(withProductID productID: String, completionHandler completionHandler: (([MPMediaEntity], Error?) -> Swift.Void)? = nil) |
Modified MPMediaPickerController
| Declaration | |
|---|---|
| From | class MPMediaPickerController : UIViewController {
init(mediaTypes mediaTypes: MPMediaType)
var mediaTypes: MPMediaType { get }
weak var delegate: MPMediaPickerControllerDelegate?
var allowsPickingMultipleItems: Bool
var showsCloudItems: Bool
var showsItemsWithProtectedAssets: Bool
var prompt: String?
func presentMoviePlayerViewControllerAnimated(_ moviePlayerViewController: MPMoviePlayerViewController!)
func dismissMoviePlayerViewControllerAnimated()
var tabBarItem: UITabBarItem!
var tabBarController: UITabBarController? { get }
var splitViewController: UISplitViewController? { get }
func collapseSecondaryViewController(_ secondaryViewController: UIViewController, for splitViewController: UISplitViewController)
func separateSecondaryViewController(for splitViewController: UISplitViewController) -> UIViewController?
var transitionCoordinator: UIViewControllerTransitionCoordinator? { get }
var isModalInPopover: Bool
var contentSizeForViewInPopover: CGSize
var toolbarItems: [UIBarButtonItem]?
func setToolbarItems(_ toolbarItems: [UIBarButtonItem]?, animated animated: Bool)
var navigationItem: UINavigationItem { get }
var hidesBottomBarWhenPushed: Bool
var navigationController: UINavigationController? { get }
var previewActionItems: [UIPreviewActionItem] { get }
func registerForPreviewing(with delegate: UIViewControllerPreviewingDelegate, sourceView sourceView: UIView) -> UIViewControllerPreviewing
func unregisterForPreviewing(withContext previewing: UIViewControllerPreviewing)
var presentationController: UIPresentationController? { get }
var popoverPresentationController: UIPopoverPresentationController? { get }
func addKeyCommand(_ keyCommand: UIKeyCommand)
func removeKeyCommand(_ keyCommand: UIKeyCommand)
var topLayoutGuide: UILayoutSupport { get }
var bottomLayoutGuide: UILayoutSupport { get }
weak var transitioningDelegate: UIViewControllerTransitioningDelegate?
func updateViewConstraints()
func automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers() -> Bool
func shouldAutomaticallyForwardRotationMethods() -> Bool
var shouldAutomaticallyForwardAppearanceMethods: Bool { get }
func willMove(toParentViewController parent: UIViewController?)
func didMove(toParentViewController parent: UIViewController?)
var childViewControllers: [UIViewController] { get }
func addChildViewController(_ childController: UIViewController)
func removeFromParentViewController()
func transition(from fromViewController: UIViewController, to toViewController: UIViewController, duration duration: TimeInterval, options options: UIViewAnimationOptions = [], animations animations: (@escaping () -> Void)?, completion completion: (@escaping (Bool) -> Void)? = nil)
func beginAppearanceTransition(_ isAppearing: Bool, animated animated: Bool)
func endAppearanceTransition()
var childViewControllerForStatusBarStyle: UIViewController? { get }
var childViewControllerForStatusBarHidden: UIViewController? { get }
func setOverrideTraitCollection(_ collection: UITraitCollection?, forChildViewController childViewController: UIViewController)
func overrideTraitCollection(forChildViewController childViewController: UIViewController) -> UITraitCollection?
var searchDisplayController: UISearchDisplayController? { get }
var isEditing: Bool
func setEditing(_ editing: Bool, animated animated: Bool)
var editButtonItem: UIBarButtonItem { get }
class func attemptRotationToDeviceOrientation()
func shouldAutorotate(to toInterfaceOrientation: UIInterfaceOrientation) -> Bool
var shouldAutorotate: Bool { get }
var supportedInterfaceOrientations: UIInterfaceOrientationMask { get }
var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation { get }
func rotatingHeaderView() -> UIView?
func rotatingFooterView() -> UIView?
var interfaceOrientation: UIInterfaceOrientation { get }
func willRotate(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval)
func didRotate(from fromInterfaceOrientation: UIInterfaceOrientation)
func willAnimateRotation(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval)
func willAnimateFirstHalfOfRotation(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval)
func didAnimateFirstHalfOfRotation(to toInterfaceOrientation: UIInterfaceOrientation)
func willAnimateSecondHalfOfRotation(from fromInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval)
var userActivity: NSUserActivity?
func updateUserActivityState(_ activity: NSUserActivity)
func restoreUserActivityState(_ activity: NSUserActivity)
var inputView: UIView? { get }
var inputAccessoryView: UIView? { get }
var inputAssistantItem: UITextInputAssistantItem { get }
var inputViewController: UIInputViewController? { get }
var inputAccessoryViewController: UIInputViewController? { get }
var textInputMode: UITextInputMode? { get }
var textInputContextIdentifier: String? { get }
class func clearTextInputContextIdentifier(_ identifier: String)
func reloadInputViews()
var keyCommands: [UIKeyCommand]? { get }
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension MPMediaPickerController : NSExtensionRequestHandling {
var extensionContext: NSExtensionContext? { get }
}
extension MPMediaPickerController : UIStateRestoring {
var restorationIdentifier: String?
var restorationClass: UIViewControllerRestoration.Type?
func encodeRestorableState(with coder: NSCoder)
func decodeRestorableState(with coder: NSCoder)
func applicationFinishedRestoringState()
}
extension MPMediaPickerController : CVarArg {
}
extension MPMediaPickerController : Equatable, Hashable {
var hashValue: Int { get }
} |
| To | class MPMediaPickerController : UIViewController {
init(mediaTypes mediaTypes: MPMediaType)
var mediaTypes: MPMediaType { get }
weak var delegate: MPMediaPickerControllerDelegate?
var allowsPickingMultipleItems: Bool
var showsCloudItems: Bool
var showsItemsWithProtectedAssets: Bool
var prompt: String?
func presentMoviePlayerViewControllerAnimated(_ moviePlayerViewController: MPMoviePlayerViewController!)
func dismissMoviePlayerViewControllerAnimated()
var tabBarItem: UITabBarItem!
var tabBarController: UITabBarController? { get }
var splitViewController: UISplitViewController? { get }
func collapseSecondaryViewController(_ secondaryViewController: UIViewController, for splitViewController: UISplitViewController)
func separateSecondaryViewController(for splitViewController: UISplitViewController) -> UIViewController?
var transitionCoordinator: UIViewControllerTransitionCoordinator? { get }
var isModalInPopover: Bool
var contentSizeForViewInPopover: CGSize
var toolbarItems: [UIBarButtonItem]?
func setToolbarItems(_ toolbarItems: [UIBarButtonItem]?, animated animated: Bool)
var navigationItem: UINavigationItem { get }
var hidesBottomBarWhenPushed: Bool
var navigationController: UINavigationController? { get }
var previewActionItems: [UIPreviewActionItem] { get }
func registerForPreviewing(with delegate: UIViewControllerPreviewingDelegate, sourceView sourceView: UIView) -> UIViewControllerPreviewing
func unregisterForPreviewing(withContext previewing: UIViewControllerPreviewing)
var presentationController: UIPresentationController? { get }
var popoverPresentationController: UIPopoverPresentationController? { get }
func addKeyCommand(_ keyCommand: UIKeyCommand)
func removeKeyCommand(_ keyCommand: UIKeyCommand)
var topLayoutGuide: UILayoutSupport { get }
var bottomLayoutGuide: UILayoutSupport { get }
weak var transitioningDelegate: UIViewControllerTransitioningDelegate?
func updateViewConstraints()
func automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers() -> Bool
func shouldAutomaticallyForwardRotationMethods() -> Bool
var shouldAutomaticallyForwardAppearanceMethods: Bool { get }
func willMove(toParentViewController parent: UIViewController?)
func didMove(toParentViewController parent: UIViewController?)
var childViewControllers: [UIViewController] { get }
func addChildViewController(_ childController: UIViewController)
func removeFromParentViewController()
func transition(from fromViewController: UIViewController, to toViewController: UIViewController, duration duration: TimeInterval, options options: UIViewAnimationOptions = [], animations animations: (() -> Void)?, completion completion: ((Bool) -> Void)? = nil)
func beginAppearanceTransition(_ isAppearing: Bool, animated animated: Bool)
func endAppearanceTransition()
var childViewControllerForStatusBarStyle: UIViewController? { get }
var childViewControllerForStatusBarHidden: UIViewController? { get }
func setOverrideTraitCollection(_ collection: UITraitCollection?, forChildViewController childViewController: UIViewController)
func overrideTraitCollection(forChildViewController childViewController: UIViewController) -> UITraitCollection?
var searchDisplayController: UISearchDisplayController? { get }
var isEditing: Bool
func setEditing(_ editing: Bool, animated animated: Bool)
var editButtonItem: UIBarButtonItem { get }
class func attemptRotationToDeviceOrientation()
func shouldAutorotate(to toInterfaceOrientation: UIInterfaceOrientation) -> Bool
var shouldAutorotate: Bool { get }
var supportedInterfaceOrientations: UIInterfaceOrientationMask { get }
var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation { get }
func rotatingHeaderView() -> UIView?
func rotatingFooterView() -> UIView?
var interfaceOrientation: UIInterfaceOrientation { get }
func willRotate(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval)
func didRotate(from fromInterfaceOrientation: UIInterfaceOrientation)
func willAnimateRotation(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval)
func willAnimateFirstHalfOfRotation(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval)
func didAnimateFirstHalfOfRotation(to toInterfaceOrientation: UIInterfaceOrientation)
func willAnimateSecondHalfOfRotation(from fromInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval)
var userActivity: NSUserActivity?
func updateUserActivityState(_ activity: NSUserActivity)
func restoreUserActivityState(_ activity: NSUserActivity)
var inputView: UIView? { get }
var inputAccessoryView: UIView? { get }
var inputAssistantItem: UITextInputAssistantItem { get }
var inputViewController: UIInputViewController? { get }
var inputAccessoryViewController: UIInputViewController? { get }
var textInputMode: UITextInputMode? { get }
var textInputContextIdentifier: String? { get }
class func clearTextInputContextIdentifier(_ identifier: String)
func reloadInputViews()
var keyCommands: [UIKeyCommand]? { get }
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension MPMediaPickerController : NSExtensionRequestHandling {
var extensionContext: NSExtensionContext? { get }
}
extension MPMediaPickerController : UIStateRestoring {
var restorationIdentifier: String?
var restorationClass: UIViewControllerRestoration.Type?
func encodeRestorableState(with coder: NSCoder)
func decodeRestorableState(with coder: NSCoder)
func applicationFinishedRestoringState()
}
extension MPMediaPickerController : CVarArg {
}
extension MPMediaPickerController : Equatable, Hashable {
var hashValue: Int { get }
} |
Modified MPMediaPlaylist
| Declaration | |
|---|---|
| From | class MPMediaPlaylist : MPMediaItemCollection {
var persistentID: MPMediaEntityPersistentID { get }
var name: String? { get }
var playlistAttributes: MPMediaPlaylistAttribute { get }
var seedItems: [MPMediaItem]? { get }
var descriptionText: String? { get }
var authorDisplayName: String? { get }
func addItem(withProductID productID: String, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil)
func add(_ mediaItems: [MPMediaItem], completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil)
} |
| To | class MPMediaPlaylist : MPMediaItemCollection {
var persistentID: MPMediaEntityPersistentID { get }
var name: String? { get }
var playlistAttributes: MPMediaPlaylistAttribute { get }
var seedItems: [MPMediaItem]? { get }
var descriptionText: String? { get }
var authorDisplayName: String? { get }
func addItem(withProductID productID: String, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil)
func add(_ mediaItems: [MPMediaItem], completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil)
} |
| Declaration | |
|---|---|
| From | func add(_ mediaItems: [MPMediaItem], completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
| To | func add(_ mediaItems: [MPMediaItem], completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Modified MPMediaPlaylist.addItem(withProductID: String, completionHandler: ((Error?) -> Swift.Void)?)
| Declaration | |
|---|---|
| From | func addItem(withProductID productID: String, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
| To | func addItem(withProductID productID: String, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Modified MPMoviePlayerController
| Declaration | |
|---|---|
| From | class MPMoviePlayerController : NSObject, MPMediaPlayback {
init!(contentURL url: URL!)
var contentURL: URL!
var view: UIView! { get }
var backgroundView: UIView! { get }
var playbackState: MPMoviePlaybackState { get }
var loadState: MPMovieLoadState { get }
var controlStyle: MPMovieControlStyle
var repeatMode: MPMovieRepeatMode
var shouldAutoplay: Bool
var isFullscreen: Bool
func setFullscreen(_ fullscreen: Bool, animated animated: Bool)
var scalingMode: MPMovieScalingMode
var readyForDisplay: Bool { get }
var useApplicationAudioSession: Bool
var accessLog: MPMovieAccessLog! { get }
var errorLog: MPMovieErrorLog! { get }
var timedMetadata: [Any]! { get }
func thumbnailImage(atTime playbackTime: TimeInterval, timeOption option: MPMovieTimeOption) -> UIImage!
func requestThumbnailImages(atTimes playbackTimes: [Any]!, timeOption option: MPMovieTimeOption)
func cancelAllThumbnailImageRequests()
var movieMediaTypes: MPMovieMediaTypeMask { get }
var movieSourceType: MPMovieSourceType
var duration: TimeInterval { get }
var playableDuration: TimeInterval { get }
var naturalSize: CGSize { get }
var initialPlaybackTime: TimeInterval
var endPlaybackTime: TimeInterval
var allowsAirPlay: Bool
var isAirPlayVideoActive: Bool { get }
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension MPMoviePlayerController : CVarArg {
}
extension MPMoviePlayerController : Equatable, Hashable {
var hashValue: Int { get }
}
extension MPMoviePlayerController {
var movieMediaTypes: MPMovieMediaTypeMask { get }
var movieSourceType: MPMovieSourceType
var duration: TimeInterval { get }
var playableDuration: TimeInterval { get }
var naturalSize: CGSize { get }
var initialPlaybackTime: TimeInterval
var endPlaybackTime: TimeInterval
var allowsAirPlay: Bool
var isAirPlayVideoActive: Bool { get }
}
extension MPMoviePlayerController {
func thumbnailImage(atTime playbackTime: TimeInterval, timeOption option: MPMovieTimeOption) -> UIImage!
func requestThumbnailImages(atTimes playbackTimes: [Any]!, timeOption option: MPMovieTimeOption)
func cancelAllThumbnailImageRequests()
}
extension MPMoviePlayerController {
var timedMetadata: [Any]! { get }
}
extension MPMoviePlayerController {
var accessLog: MPMovieAccessLog! { get }
var errorLog: MPMovieErrorLog! { get }
}
extension MPMoviePlayerController {
var useApplicationAudioSession: Bool
}
extension MPMoviePlayerController {
class func preparePrerollAds()
func playPrerollAd(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)!)
func cancelPreroll()
} |
| To | class MPMoviePlayerController : NSObject, MPMediaPlayback {
init!(contentURL url: URL!)
var contentURL: URL!
var view: UIView! { get }
var backgroundView: UIView! { get }
var playbackState: MPMoviePlaybackState { get }
var loadState: MPMovieLoadState { get }
var controlStyle: MPMovieControlStyle
var repeatMode: MPMovieRepeatMode
var shouldAutoplay: Bool
var isFullscreen: Bool
func setFullscreen(_ fullscreen: Bool, animated animated: Bool)
var scalingMode: MPMovieScalingMode
var readyForDisplay: Bool { get }
var useApplicationAudioSession: Bool
var accessLog: MPMovieAccessLog! { get }
var errorLog: MPMovieErrorLog! { get }
var timedMetadata: [Any]! { get }
func thumbnailImage(atTime playbackTime: TimeInterval, timeOption option: MPMovieTimeOption) -> UIImage!
func requestThumbnailImages(atTimes playbackTimes: [Any]!, timeOption option: MPMovieTimeOption)
func cancelAllThumbnailImageRequests()
var movieMediaTypes: MPMovieMediaTypeMask { get }
var movieSourceType: MPMovieSourceType
var duration: TimeInterval { get }
var playableDuration: TimeInterval { get }
var naturalSize: CGSize { get }
var initialPlaybackTime: TimeInterval
var endPlaybackTime: TimeInterval
var allowsAirPlay: Bool
var isAirPlayVideoActive: Bool { get }
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension MPMoviePlayerController : CVarArg {
}
extension MPMoviePlayerController : Equatable, Hashable {
var hashValue: Int { get }
}
extension MPMoviePlayerController {
var movieMediaTypes: MPMovieMediaTypeMask { get }
var movieSourceType: MPMovieSourceType
var duration: TimeInterval { get }
var playableDuration: TimeInterval { get }
var naturalSize: CGSize { get }
var initialPlaybackTime: TimeInterval
var endPlaybackTime: TimeInterval
var allowsAirPlay: Bool
var isAirPlayVideoActive: Bool { get }
}
extension MPMoviePlayerController {
func thumbnailImage(atTime playbackTime: TimeInterval, timeOption option: MPMovieTimeOption) -> UIImage!
func requestThumbnailImages(atTimes playbackTimes: [Any]!, timeOption option: MPMovieTimeOption)
func cancelAllThumbnailImageRequests()
}
extension MPMoviePlayerController {
var timedMetadata: [Any]! { get }
}
extension MPMoviePlayerController {
var accessLog: MPMovieAccessLog! { get }
var errorLog: MPMovieErrorLog! { get }
}
extension MPMoviePlayerController {
var useApplicationAudioSession: Bool
}
extension MPMoviePlayerController {
class func preparePrerollAds()
func playPrerollAd(completionHandler completionHandler: ((Error?) -> Swift.Void)!)
func cancelPreroll()
} |
Modified MPMoviePlayerViewController
| Declaration | |
|---|---|
| From | class MPMoviePlayerViewController : UIViewController {
init!(contentURL contentURL: URL!)
var moviePlayer: MPMoviePlayerController! { get }
func presentMoviePlayerViewControllerAnimated(_ moviePlayerViewController: MPMoviePlayerViewController!)
func dismissMoviePlayerViewControllerAnimated()
var tabBarItem: UITabBarItem!
var tabBarController: UITabBarController? { get }
var splitViewController: UISplitViewController? { get }
func collapseSecondaryViewController(_ secondaryViewController: UIViewController, for splitViewController: UISplitViewController)
func separateSecondaryViewController(for splitViewController: UISplitViewController) -> UIViewController?
var transitionCoordinator: UIViewControllerTransitionCoordinator? { get }
var isModalInPopover: Bool
var contentSizeForViewInPopover: CGSize
var toolbarItems: [UIBarButtonItem]?
func setToolbarItems(_ toolbarItems: [UIBarButtonItem]?, animated animated: Bool)
var navigationItem: UINavigationItem { get }
var hidesBottomBarWhenPushed: Bool
var navigationController: UINavigationController? { get }
var previewActionItems: [UIPreviewActionItem] { get }
func registerForPreviewing(with delegate: UIViewControllerPreviewingDelegate, sourceView sourceView: UIView) -> UIViewControllerPreviewing
func unregisterForPreviewing(withContext previewing: UIViewControllerPreviewing)
var presentationController: UIPresentationController? { get }
var popoverPresentationController: UIPopoverPresentationController? { get }
func addKeyCommand(_ keyCommand: UIKeyCommand)
func removeKeyCommand(_ keyCommand: UIKeyCommand)
var topLayoutGuide: UILayoutSupport { get }
var bottomLayoutGuide: UILayoutSupport { get }
weak var transitioningDelegate: UIViewControllerTransitioningDelegate?
func updateViewConstraints()
func automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers() -> Bool
func shouldAutomaticallyForwardRotationMethods() -> Bool
var shouldAutomaticallyForwardAppearanceMethods: Bool { get }
func willMove(toParentViewController parent: UIViewController?)
func didMove(toParentViewController parent: UIViewController?)
var childViewControllers: [UIViewController] { get }
func addChildViewController(_ childController: UIViewController)
func removeFromParentViewController()
func transition(from fromViewController: UIViewController, to toViewController: UIViewController, duration duration: TimeInterval, options options: UIViewAnimationOptions = [], animations animations: (@escaping () -> Void)?, completion completion: (@escaping (Bool) -> Void)? = nil)
func beginAppearanceTransition(_ isAppearing: Bool, animated animated: Bool)
func endAppearanceTransition()
var childViewControllerForStatusBarStyle: UIViewController? { get }
var childViewControllerForStatusBarHidden: UIViewController? { get }
func setOverrideTraitCollection(_ collection: UITraitCollection?, forChildViewController childViewController: UIViewController)
func overrideTraitCollection(forChildViewController childViewController: UIViewController) -> UITraitCollection?
var searchDisplayController: UISearchDisplayController? { get }
var isEditing: Bool
func setEditing(_ editing: Bool, animated animated: Bool)
var editButtonItem: UIBarButtonItem { get }
class func attemptRotationToDeviceOrientation()
func shouldAutorotate(to toInterfaceOrientation: UIInterfaceOrientation) -> Bool
var shouldAutorotate: Bool { get }
var supportedInterfaceOrientations: UIInterfaceOrientationMask { get }
var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation { get }
func rotatingHeaderView() -> UIView?
func rotatingFooterView() -> UIView?
var interfaceOrientation: UIInterfaceOrientation { get }
func willRotate(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval)
func didRotate(from fromInterfaceOrientation: UIInterfaceOrientation)
func willAnimateRotation(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval)
func willAnimateFirstHalfOfRotation(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval)
func didAnimateFirstHalfOfRotation(to toInterfaceOrientation: UIInterfaceOrientation)
func willAnimateSecondHalfOfRotation(from fromInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval)
var userActivity: NSUserActivity?
func updateUserActivityState(_ activity: NSUserActivity)
func restoreUserActivityState(_ activity: NSUserActivity)
var inputView: UIView? { get }
var inputAccessoryView: UIView? { get }
var inputAssistantItem: UITextInputAssistantItem { get }
var inputViewController: UIInputViewController? { get }
var inputAccessoryViewController: UIInputViewController? { get }
var textInputMode: UITextInputMode? { get }
var textInputContextIdentifier: String? { get }
class func clearTextInputContextIdentifier(_ identifier: String)
func reloadInputViews()
var keyCommands: [UIKeyCommand]? { get }
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension MPMoviePlayerViewController : NSExtensionRequestHandling {
var extensionContext: NSExtensionContext? { get }
}
extension MPMoviePlayerViewController : UIStateRestoring {
var restorationIdentifier: String?
var restorationClass: UIViewControllerRestoration.Type?
func encodeRestorableState(with coder: NSCoder)
func decodeRestorableState(with coder: NSCoder)
func applicationFinishedRestoringState()
}
extension MPMoviePlayerViewController : CVarArg {
}
extension MPMoviePlayerViewController : Equatable, Hashable {
var hashValue: Int { get }
} |
| To | class MPMoviePlayerViewController : UIViewController {
init!(contentURL contentURL: URL!)
var moviePlayer: MPMoviePlayerController! { get }
func presentMoviePlayerViewControllerAnimated(_ moviePlayerViewController: MPMoviePlayerViewController!)
func dismissMoviePlayerViewControllerAnimated()
var tabBarItem: UITabBarItem!
var tabBarController: UITabBarController? { get }
var splitViewController: UISplitViewController? { get }
func collapseSecondaryViewController(_ secondaryViewController: UIViewController, for splitViewController: UISplitViewController)
func separateSecondaryViewController(for splitViewController: UISplitViewController) -> UIViewController?
var transitionCoordinator: UIViewControllerTransitionCoordinator? { get }
var isModalInPopover: Bool
var contentSizeForViewInPopover: CGSize
var toolbarItems: [UIBarButtonItem]?
func setToolbarItems(_ toolbarItems: [UIBarButtonItem]?, animated animated: Bool)
var navigationItem: UINavigationItem { get }
var hidesBottomBarWhenPushed: Bool
var navigationController: UINavigationController? { get }
var previewActionItems: [UIPreviewActionItem] { get }
func registerForPreviewing(with delegate: UIViewControllerPreviewingDelegate, sourceView sourceView: UIView) -> UIViewControllerPreviewing
func unregisterForPreviewing(withContext previewing: UIViewControllerPreviewing)
var presentationController: UIPresentationController? { get }
var popoverPresentationController: UIPopoverPresentationController? { get }
func addKeyCommand(_ keyCommand: UIKeyCommand)
func removeKeyCommand(_ keyCommand: UIKeyCommand)
var topLayoutGuide: UILayoutSupport { get }
var bottomLayoutGuide: UILayoutSupport { get }
weak var transitioningDelegate: UIViewControllerTransitioningDelegate?
func updateViewConstraints()
func automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers() -> Bool
func shouldAutomaticallyForwardRotationMethods() -> Bool
var shouldAutomaticallyForwardAppearanceMethods: Bool { get }
func willMove(toParentViewController parent: UIViewController?)
func didMove(toParentViewController parent: UIViewController?)
var childViewControllers: [UIViewController] { get }
func addChildViewController(_ childController: UIViewController)
func removeFromParentViewController()
func transition(from fromViewController: UIViewController, to toViewController: UIViewController, duration duration: TimeInterval, options options: UIViewAnimationOptions = [], animations animations: (() -> Void)?, completion completion: ((Bool) -> Void)? = nil)
func beginAppearanceTransition(_ isAppearing: Bool, animated animated: Bool)
func endAppearanceTransition()
var childViewControllerForStatusBarStyle: UIViewController? { get }
var childViewControllerForStatusBarHidden: UIViewController? { get }
func setOverrideTraitCollection(_ collection: UITraitCollection?, forChildViewController childViewController: UIViewController)
func overrideTraitCollection(forChildViewController childViewController: UIViewController) -> UITraitCollection?
var searchDisplayController: UISearchDisplayController? { get }
var isEditing: Bool
func setEditing(_ editing: Bool, animated animated: Bool)
var editButtonItem: UIBarButtonItem { get }
class func attemptRotationToDeviceOrientation()
func shouldAutorotate(to toInterfaceOrientation: UIInterfaceOrientation) -> Bool
var shouldAutorotate: Bool { get }
var supportedInterfaceOrientations: UIInterfaceOrientationMask { get }
var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation { get }
func rotatingHeaderView() -> UIView?
func rotatingFooterView() -> UIView?
var interfaceOrientation: UIInterfaceOrientation { get }
func willRotate(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval)
func didRotate(from fromInterfaceOrientation: UIInterfaceOrientation)
func willAnimateRotation(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval)
func willAnimateFirstHalfOfRotation(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval)
func didAnimateFirstHalfOfRotation(to toInterfaceOrientation: UIInterfaceOrientation)
func willAnimateSecondHalfOfRotation(from fromInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval)
var userActivity: NSUserActivity?
func updateUserActivityState(_ activity: NSUserActivity)
func restoreUserActivityState(_ activity: NSUserActivity)
var inputView: UIView? { get }
var inputAccessoryView: UIView? { get }
var inputAssistantItem: UITextInputAssistantItem { get }
var inputViewController: UIInputViewController? { get }
var inputAccessoryViewController: UIInputViewController? { get }
var textInputMode: UITextInputMode? { get }
var textInputContextIdentifier: String? { get }
class func clearTextInputContextIdentifier(_ identifier: String)
func reloadInputViews()
var keyCommands: [UIKeyCommand]? { get }
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension MPMoviePlayerViewController : NSExtensionRequestHandling {
var extensionContext: NSExtensionContext? { get }
}
extension MPMoviePlayerViewController : UIStateRestoring {
var restorationIdentifier: String?
var restorationClass: UIViewControllerRestoration.Type?
func encodeRestorableState(with coder: NSCoder)
func decodeRestorableState(with coder: NSCoder)
func applicationFinishedRestoringState()
}
extension MPMoviePlayerViewController : CVarArg {
}
extension MPMoviePlayerViewController : Equatable, Hashable {
var hashValue: Int { get }
} |
Modified MPMusicPlayerController
| Declaration | |
|---|---|
| From | class MPMusicPlayerController : NSObject, MPMediaPlayback {
class func applicationMusicPlayer() -> MPMusicPlayerController
class func systemMusicPlayer() -> MPMusicPlayerController
class func iPodMusicPlayer() -> MPMusicPlayerController
var playbackState: MPMusicPlaybackState { get }
var repeatMode: MPMusicRepeatMode
var shuffleMode: MPMusicShuffleMode
var volume: Float
@NSCopying var nowPlayingItem: MPMediaItem?
var indexOfNowPlayingItem: Int { get }
func setQueue(with query: MPMediaQuery)
func setQueue(with itemCollection: MPMediaItemCollection)
func setQueueWithStoreIDs(_ storeIDs: [String])
func skipToNextItem()
func skipToBeginning()
func skipToPreviousItem()
func beginGeneratingPlaybackNotifications()
func endGeneratingPlaybackNotifications()
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension MPMusicPlayerController : CVarArg {
}
extension MPMusicPlayerController : Equatable, Hashable {
var hashValue: Int { get }
}
extension MPMusicPlayerController {
var playbackState: MPMusicPlaybackState { get }
var repeatMode: MPMusicRepeatMode
var shuffleMode: MPMusicShuffleMode
var volume: Float
@NSCopying var nowPlayingItem: MPMediaItem?
var indexOfNowPlayingItem: Int { get }
func setQueue(with query: MPMediaQuery)
func setQueue(with itemCollection: MPMediaItemCollection)
func setQueueWithStoreIDs(_ storeIDs: [String])
func skipToNextItem()
func skipToBeginning()
func skipToPreviousItem()
func beginGeneratingPlaybackNotifications()
func endGeneratingPlaybackNotifications()
} |
| To | class MPMusicPlayerController : NSObject, MPMediaPlayback {
class func applicationMusicPlayer() -> MPMusicPlayerController
class func systemMusicPlayer() -> MPMusicPlayerController
class func iPodMusicPlayer() -> MPMusicPlayerController
var playbackState: MPMusicPlaybackState { get }
var repeatMode: MPMusicRepeatMode
var shuffleMode: MPMusicShuffleMode
var volume: Float
@NSCopying var nowPlayingItem: MPMediaItem?
var indexOfNowPlayingItem: Int { get }
func setQueue(with query: MPMediaQuery)
func setQueue(with itemCollection: MPMediaItemCollection)
func setQueueWithStoreIDs(_ storeIDs: [String])
func setQueueWith(_ descriptor: MPMusicPlayerQueueDescriptor)
func prepareToPlay(completionHandler completionHandler: @escaping (Error?) -> Swift.Void)
func skipToNextItem()
func skipToBeginning()
func skipToPreviousItem()
func beginGeneratingPlaybackNotifications()
func endGeneratingPlaybackNotifications()
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension MPMusicPlayerController : CVarArg {
}
extension MPMusicPlayerController : Equatable, Hashable {
var hashValue: Int { get }
}
extension MPMusicPlayerController {
var playbackState: MPMusicPlaybackState { get }
var repeatMode: MPMusicRepeatMode
var shuffleMode: MPMusicShuffleMode
var volume: Float
@NSCopying var nowPlayingItem: MPMediaItem?
var indexOfNowPlayingItem: Int { get }
func setQueue(with query: MPMediaQuery)
func setQueue(with itemCollection: MPMediaItemCollection)
func setQueueWithStoreIDs(_ storeIDs: [String])
func setQueueWith(_ descriptor: MPMusicPlayerQueueDescriptor)
func prepareToPlay(completionHandler completionHandler: @escaping (Error?) -> Swift.Void)
func skipToNextItem()
func skipToBeginning()
func skipToPreviousItem()
func beginGeneratingPlaybackNotifications()
func endGeneratingPlaybackNotifications()
} |
Modified MPVolumeView
| Declaration | |
|---|---|
| From | class MPVolumeView : UIView, NSCoding {
var showsVolumeSlider: Bool
var showsRouteButton: Bool
var areWirelessRoutesAvailable: Bool { get }
var isWirelessRouteActive: Bool { get }
func setMinimumVolumeSliderImage(_ image: UIImage?, for state: UIControlState)
func setMaximumVolumeSliderImage(_ image: UIImage?, for state: UIControlState)
func setVolumeThumbImage(_ image: UIImage?, for state: UIControlState)
func minimumVolumeSliderImage(for state: UIControlState) -> UIImage?
func maximumVolumeSliderImage(for state: UIControlState) -> UIImage?
func volumeThumbImage(for state: UIControlState) -> UIImage?
var volumeWarningSliderImage: UIImage?
func volumeSliderRect(forBounds bounds: CGRect) -> CGRect
func volumeThumbRect(forBounds bounds: CGRect, volumeSliderRect rect: CGRect, value value: Float) -> CGRect
func setRouteButtonImage(_ image: UIImage?, for state: UIControlState)
func routeButtonImage(for state: UIControlState) -> UIImage?
func routeButtonRect(forBounds bounds: CGRect) -> CGRect
func viewPrintFormatter() -> UIViewPrintFormatter
func draw(_ rect: CGRect, for formatter: UIViewPrintFormatter)
func endEditing(_ force: Bool) -> Bool
func snapshotView(afterScreenUpdates afterUpdates: Bool) -> UIView?
func resizableSnapshotView(from rect: CGRect, afterScreenUpdates afterUpdates: Bool, withCapInsets capInsets: UIEdgeInsets) -> UIView?
func drawHierarchy(in rect: CGRect, afterScreenUpdates afterUpdates: Bool) -> Bool
var restorationIdentifier: String?
func encodeRestorableState(with coder: NSCoder)
func decodeRestorableState(with coder: NSCoder)
func constraintsAffectingLayout(for axis: UILayoutConstraintAxis) -> [NSLayoutConstraint]
var hasAmbiguousLayout: Bool { get }
func exerciseAmbiguityInLayout()
var leadingAnchor: NSLayoutXAxisAnchor { get }
var trailingAnchor: NSLayoutXAxisAnchor { get }
var leftAnchor: NSLayoutXAxisAnchor { get }
var rightAnchor: NSLayoutXAxisAnchor { get }
var topAnchor: NSLayoutYAxisAnchor { get }
var bottomAnchor: NSLayoutYAxisAnchor { get }
var widthAnchor: NSLayoutDimension { get }
var heightAnchor: NSLayoutDimension { get }
var centerXAnchor: NSLayoutXAxisAnchor { get }
var centerYAnchor: NSLayoutYAxisAnchor { get }
var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
var lastBaselineAnchor: NSLayoutYAxisAnchor { get }
var layoutGuides: [UILayoutGuide] { get }
func addLayoutGuide(_ layoutGuide: UILayoutGuide)
func removeLayoutGuide(_ layoutGuide: UILayoutGuide)
func systemLayoutSizeFitting(_ targetSize: CGSize) -> CGSize
func systemLayoutSizeFitting(_ targetSize: CGSize, withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority, verticalFittingPriority verticalFittingPriority: UILayoutPriority) -> CGSize
func alignmentRect(forFrame frame: CGRect) -> CGRect
func frame(forAlignmentRect alignmentRect: CGRect) -> CGRect
var alignmentRectInsets: UIEdgeInsets { get }
func forBaselineLayout() -> UIView
var forFirstBaselineLayout: UIView { get }
var forLastBaselineLayout: UIView { get }
var intrinsicContentSize: CGSize { get }
func invalidateIntrinsicContentSize()
func contentHuggingPriority(for axis: UILayoutConstraintAxis) -> UILayoutPriority
func setContentHuggingPriority(_ priority: UILayoutPriority, for axis: UILayoutConstraintAxis)
func contentCompressionResistancePriority(for axis: UILayoutConstraintAxis) -> UILayoutPriority
func setContentCompressionResistancePriority(_ priority: UILayoutPriority, for axis: UILayoutConstraintAxis)
var translatesAutoresizingMaskIntoConstraints: Bool
class var requiresConstraintBasedLayout: Bool { get }
func updateConstraintsIfNeeded()
func updateConstraints()
func needsUpdateConstraints() -> Bool
func setNeedsUpdateConstraints()
var constraints: [NSLayoutConstraint] { get }
func addConstraint(_ constraint: NSLayoutConstraint)
func addConstraints(_ constraints: [NSLayoutConstraint])
func removeConstraint(_ constraint: NSLayoutConstraint)
func removeConstraints(_ constraints: [NSLayoutConstraint])
func addMotionEffect(_ effect: UIMotionEffect)
func removeMotionEffect(_ effect: UIMotionEffect)
var motionEffects: [UIMotionEffect]
var gestureRecognizers: [UIGestureRecognizer]?
func addGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer)
func removeGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer)
func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool
class func animateKeyframes(withDuration duration: TimeInterval, delay delay: TimeInterval, options options: UIViewKeyframeAnimationOptions = [], animations animations: @escaping () -> Void, completion completion: (@escaping (Bool) -> Void)? = nil)
class func addKeyframe(withRelativeStartTime frameStartTime: Double, relativeDuration frameDuration: Double, animations animations: @escaping () -> Void)
class func animate(withDuration duration: TimeInterval, delay delay: TimeInterval, options options: UIViewAnimationOptions = [], animations animations: @escaping () -> Void, completion completion: (@escaping (Bool) -> Void)? = nil)
class func animate(withDuration duration: TimeInterval, animations animations: @escaping () -> Void, completion completion: (@escaping (Bool) -> Void)? = nil)
class func animate(withDuration duration: TimeInterval, animations animations: @escaping () -> Void)
class func animate(withDuration duration: TimeInterval, delay delay: TimeInterval, usingSpringWithDamping dampingRatio: CGFloat, initialSpringVelocity velocity: CGFloat, options options: UIViewAnimationOptions = [], animations animations: @escaping () -> Void, completion completion: (@escaping (Bool) -> Void)? = nil)
class func transition(with view: UIView, duration duration: TimeInterval, options options: UIViewAnimationOptions = [], animations animations: (@escaping () -> Void)?, completion completion: (@escaping (Bool) -> Void)? = nil)
class func transition(from fromView: UIView, to toView: UIView, duration duration: TimeInterval, options options: UIViewAnimationOptions = [], completion completion: (@escaping (Bool) -> Void)? = nil)
class func perform(_ animation: UISystemAnimation, on views: [UIView], options options: UIViewAnimationOptions = [], animations parallelAnimations: (@escaping () -> Void)?, completion completion: (@escaping (Bool) -> Void)? = nil)
class func beginAnimations(_ animationID: String?, context context: UnsafeMutableRawPointer?)
class func commitAnimations()
class func setAnimationDelegate(_ delegate: Any?)
class func setAnimationWillStart(_ selector: Selector?)
class func setAnimationDidStop(_ selector: Selector?)
class func setAnimationDuration(_ duration: TimeInterval)
class func setAnimationDelay(_ delay: TimeInterval)
class func setAnimationStart(_ startDate: Date)
class func setAnimationCurve(_ curve: UIViewAnimationCurve)
class func setAnimationRepeatCount(_ repeatCount: Float)
class func setAnimationRepeatAutoreverses(_ repeatAutoreverses: Bool)
class func setAnimationBeginsFromCurrentState(_ fromCurrentState: Bool)
class func setAnimationTransition(_ transition: UIViewAnimationTransition, for view: UIView, cache cache: Bool)
class func setAnimationsEnabled(_ enabled: Bool)
class var areAnimationsEnabled: Bool { get }
class func performWithoutAnimation(_ actionsWithoutAnimation: () -> Void)
class var inheritedAnimationDuration: TimeInterval { get }
func draw(_ rect: CGRect)
func setNeedsDisplay()
func setNeedsDisplay(_ rect: CGRect)
var clipsToBounds: Bool
@NSCopying var backgroundColor: UIColor?
var alpha: CGFloat
var isOpaque: Bool
var clearsContextBeforeDrawing: Bool
var isHidden: Bool
var contentMode: UIViewContentMode
var contentStretch: CGRect
var mask: UIView?
var tintColor: UIColor!
var tintAdjustmentMode: UIViewTintAdjustmentMode
func tintColorDidChange()
var superview: UIView? { get }
var subviews: [UIView] { get }
var window: UIWindow? { get }
func removeFromSuperview()
func insertSubview(_ view: UIView, at index: Int)
func exchangeSubview(at index1: Int, withSubviewAt index2: Int)
func addSubview(_ view: UIView)
func insertSubview(_ view: UIView, belowSubview siblingSubview: UIView)
func insertSubview(_ view: UIView, aboveSubview siblingSubview: UIView)
func bringSubview(toFront view: UIView)
func sendSubview(toBack view: UIView)
func didAddSubview(_ subview: UIView)
func willRemoveSubview(_ subview: UIView)
func willMove(toSuperview newSuperview: UIView?)
func didMoveToSuperview()
func willMove(toWindow newWindow: UIWindow?)
func didMoveToWindow()
func isDescendant(of view: UIView) -> Bool
func viewWithTag(_ tag: Int) -> UIView?
func setNeedsLayout()
func layoutIfNeeded()
func layoutSubviews()
var layoutMargins: UIEdgeInsets
var preservesSuperviewLayoutMargins: Bool
func layoutMarginsDidChange()
var layoutMarginsGuide: UILayoutGuide { get }
var readableContentGuide: UILayoutGuide { get }
var frame: CGRect
var bounds: CGRect
var center: CGPoint
var transform: CGAffineTransform
var contentScaleFactor: CGFloat
var isMultipleTouchEnabled: Bool
var isExclusiveTouch: Bool
func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView?
func point(inside point: CGPoint, with event: UIEvent?) -> Bool
func convert(_ point: CGPoint, to view: UIView?) -> CGPoint
func convert(_ point: CGPoint, from view: UIView?) -> CGPoint
func convert(_ rect: CGRect, to view: UIView?) -> CGRect
func convert(_ rect: CGRect, from view: UIView?) -> CGRect
var autoresizesSubviews: Bool
var autoresizingMask: UIViewAutoresizing
func sizeThatFits(_ size: CGSize) -> CGSize
func sizeToFit()
var userActivity: NSUserActivity?
func updateUserActivityState(_ activity: NSUserActivity)
func restoreUserActivityState(_ activity: NSUserActivity)
var inputView: UIView? { get }
var inputAccessoryView: UIView? { get }
var inputAssistantItem: UITextInputAssistantItem { get }
var inputViewController: UIInputViewController? { get }
var inputAccessoryViewController: UIInputViewController? { get }
var textInputMode: UITextInputMode? { get }
var textInputContextIdentifier: String? { get }
class func clearTextInputContextIdentifier(_ identifier: String)
func reloadInputViews()
var keyCommands: [UIKeyCommand]? { get }
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension MPVolumeView : UIAccessibilityIdentification {
}
extension MPVolumeView : CVarArg {
}
extension MPVolumeView : Equatable, Hashable {
var hashValue: Int { get }
} |
| To | class MPVolumeView : UIView, NSCoding {
var showsVolumeSlider: Bool
var showsRouteButton: Bool
var areWirelessRoutesAvailable: Bool { get }
var isWirelessRouteActive: Bool { get }
func setMinimumVolumeSliderImage(_ image: UIImage?, for state: UIControlState)
func setMaximumVolumeSliderImage(_ image: UIImage?, for state: UIControlState)
func setVolumeThumbImage(_ image: UIImage?, for state: UIControlState)
func minimumVolumeSliderImage(for state: UIControlState) -> UIImage?
func maximumVolumeSliderImage(for state: UIControlState) -> UIImage?
func volumeThumbImage(for state: UIControlState) -> UIImage?
var volumeWarningSliderImage: UIImage?
func volumeSliderRect(forBounds bounds: CGRect) -> CGRect
func volumeThumbRect(forBounds bounds: CGRect, volumeSliderRect rect: CGRect, value value: Float) -> CGRect
func setRouteButtonImage(_ image: UIImage?, for state: UIControlState)
func routeButtonImage(for state: UIControlState) -> UIImage?
func routeButtonRect(forBounds bounds: CGRect) -> CGRect
func viewPrintFormatter() -> UIViewPrintFormatter
func draw(_ rect: CGRect, for formatter: UIViewPrintFormatter)
func endEditing(_ force: Bool) -> Bool
func snapshotView(afterScreenUpdates afterUpdates: Bool) -> UIView?
func resizableSnapshotView(from rect: CGRect, afterScreenUpdates afterUpdates: Bool, withCapInsets capInsets: UIEdgeInsets) -> UIView?
func drawHierarchy(in rect: CGRect, afterScreenUpdates afterUpdates: Bool) -> Bool
var restorationIdentifier: String?
func encodeRestorableState(with coder: NSCoder)
func decodeRestorableState(with coder: NSCoder)
func constraintsAffectingLayout(for axis: UILayoutConstraintAxis) -> [NSLayoutConstraint]
var hasAmbiguousLayout: Bool { get }
func exerciseAmbiguityInLayout()
var leadingAnchor: NSLayoutXAxisAnchor { get }
var trailingAnchor: NSLayoutXAxisAnchor { get }
var leftAnchor: NSLayoutXAxisAnchor { get }
var rightAnchor: NSLayoutXAxisAnchor { get }
var topAnchor: NSLayoutYAxisAnchor { get }
var bottomAnchor: NSLayoutYAxisAnchor { get }
var widthAnchor: NSLayoutDimension { get }
var heightAnchor: NSLayoutDimension { get }
var centerXAnchor: NSLayoutXAxisAnchor { get }
var centerYAnchor: NSLayoutYAxisAnchor { get }
var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
var lastBaselineAnchor: NSLayoutYAxisAnchor { get }
var layoutGuides: [UILayoutGuide] { get }
func addLayoutGuide(_ layoutGuide: UILayoutGuide)
func removeLayoutGuide(_ layoutGuide: UILayoutGuide)
func systemLayoutSizeFitting(_ targetSize: CGSize) -> CGSize
func systemLayoutSizeFitting(_ targetSize: CGSize, withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority, verticalFittingPriority verticalFittingPriority: UILayoutPriority) -> CGSize
func alignmentRect(forFrame frame: CGRect) -> CGRect
func frame(forAlignmentRect alignmentRect: CGRect) -> CGRect
var alignmentRectInsets: UIEdgeInsets { get }
func forBaselineLayout() -> UIView
var forFirstBaselineLayout: UIView { get }
var forLastBaselineLayout: UIView { get }
var intrinsicContentSize: CGSize { get }
func invalidateIntrinsicContentSize()
func contentHuggingPriority(for axis: UILayoutConstraintAxis) -> UILayoutPriority
func setContentHuggingPriority(_ priority: UILayoutPriority, for axis: UILayoutConstraintAxis)
func contentCompressionResistancePriority(for axis: UILayoutConstraintAxis) -> UILayoutPriority
func setContentCompressionResistancePriority(_ priority: UILayoutPriority, for axis: UILayoutConstraintAxis)
var translatesAutoresizingMaskIntoConstraints: Bool
class var requiresConstraintBasedLayout: Bool { get }
func updateConstraintsIfNeeded()
func updateConstraints()
func needsUpdateConstraints() -> Bool
func setNeedsUpdateConstraints()
var constraints: [NSLayoutConstraint] { get }
func addConstraint(_ constraint: NSLayoutConstraint)
func addConstraints(_ constraints: [NSLayoutConstraint])
func removeConstraint(_ constraint: NSLayoutConstraint)
func removeConstraints(_ constraints: [NSLayoutConstraint])
func addMotionEffect(_ effect: UIMotionEffect)
func removeMotionEffect(_ effect: UIMotionEffect)
var motionEffects: [UIMotionEffect]
var gestureRecognizers: [UIGestureRecognizer]?
func addGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer)
func removeGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer)
func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool
class func animateKeyframes(withDuration duration: TimeInterval, delay delay: TimeInterval, options options: UIViewKeyframeAnimationOptions = [], animations animations: @escaping () -> Void, completion completion: ((Bool) -> Void)? = nil)
class func addKeyframe(withRelativeStartTime frameStartTime: Double, relativeDuration frameDuration: Double, animations animations: @escaping () -> Void)
class func animate(withDuration duration: TimeInterval, delay delay: TimeInterval, options options: UIViewAnimationOptions = [], animations animations: @escaping () -> Void, completion completion: ((Bool) -> Void)? = nil)
class func animate(withDuration duration: TimeInterval, animations animations: @escaping () -> Void, completion completion: ((Bool) -> Void)? = nil)
class func animate(withDuration duration: TimeInterval, animations animations: @escaping () -> Void)
class func animate(withDuration duration: TimeInterval, delay delay: TimeInterval, usingSpringWithDamping dampingRatio: CGFloat, initialSpringVelocity velocity: CGFloat, options options: UIViewAnimationOptions = [], animations animations: @escaping () -> Void, completion completion: ((Bool) -> Void)? = nil)
class func transition(with view: UIView, duration duration: TimeInterval, options options: UIViewAnimationOptions = [], animations animations: (() -> Void)?, completion completion: ((Bool) -> Void)? = nil)
class func transition(from fromView: UIView, to toView: UIView, duration duration: TimeInterval, options options: UIViewAnimationOptions = [], completion completion: ((Bool) -> Void)? = nil)
class func perform(_ animation: UISystemAnimation, on views: [UIView], options options: UIViewAnimationOptions = [], animations parallelAnimations: (() -> Void)?, completion completion: ((Bool) -> Void)? = nil)
class func beginAnimations(_ animationID: String?, context context: UnsafeMutableRawPointer?)
class func commitAnimations()
class func setAnimationDelegate(_ delegate: Any?)
class func setAnimationWillStart(_ selector: Selector?)
class func setAnimationDidStop(_ selector: Selector?)
class func setAnimationDuration(_ duration: TimeInterval)
class func setAnimationDelay(_ delay: TimeInterval)
class func setAnimationStart(_ startDate: Date)
class func setAnimationCurve(_ curve: UIViewAnimationCurve)
class func setAnimationRepeatCount(_ repeatCount: Float)
class func setAnimationRepeatAutoreverses(_ repeatAutoreverses: Bool)
class func setAnimationBeginsFromCurrentState(_ fromCurrentState: Bool)
class func setAnimationTransition(_ transition: UIViewAnimationTransition, for view: UIView, cache cache: Bool)
class func setAnimationsEnabled(_ enabled: Bool)
class var areAnimationsEnabled: Bool { get }
class func performWithoutAnimation(_ actionsWithoutAnimation: () -> Void)
class var inheritedAnimationDuration: TimeInterval { get }
func draw(_ rect: CGRect)
func setNeedsDisplay()
func setNeedsDisplay(_ rect: CGRect)
var clipsToBounds: Bool
@NSCopying var backgroundColor: UIColor?
var alpha: CGFloat
var isOpaque: Bool
var clearsContextBeforeDrawing: Bool
var isHidden: Bool
var contentMode: UIViewContentMode
var contentStretch: CGRect
var mask: UIView?
var tintColor: UIColor!
var tintAdjustmentMode: UIViewTintAdjustmentMode
func tintColorDidChange()
var superview: UIView? { get }
var subviews: [UIView] { get }
var window: UIWindow? { get }
func removeFromSuperview()
func insertSubview(_ view: UIView, at index: Int)
func exchangeSubview(at index1: Int, withSubviewAt index2: Int)
func addSubview(_ view: UIView)
func insertSubview(_ view: UIView, belowSubview siblingSubview: UIView)
func insertSubview(_ view: UIView, aboveSubview siblingSubview: UIView)
func bringSubview(toFront view: UIView)
func sendSubview(toBack view: UIView)
func didAddSubview(_ subview: UIView)
func willRemoveSubview(_ subview: UIView)
func willMove(toSuperview newSuperview: UIView?)
func didMoveToSuperview()
func willMove(toWindow newWindow: UIWindow?)
func didMoveToWindow()
func isDescendant(of view: UIView) -> Bool
func viewWithTag(_ tag: Int) -> UIView?
func setNeedsLayout()
func layoutIfNeeded()
func layoutSubviews()
var layoutMargins: UIEdgeInsets
var preservesSuperviewLayoutMargins: Bool
func layoutMarginsDidChange()
var layoutMarginsGuide: UILayoutGuide { get }
var readableContentGuide: UILayoutGuide { get }
var frame: CGRect
var bounds: CGRect
var center: CGPoint
var transform: CGAffineTransform
var contentScaleFactor: CGFloat
var isMultipleTouchEnabled: Bool
var isExclusiveTouch: Bool
func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView?
func point(inside point: CGPoint, with event: UIEvent?) -> Bool
func convert(_ point: CGPoint, to view: UIView?) -> CGPoint
func convert(_ point: CGPoint, from view: UIView?) -> CGPoint
func convert(_ rect: CGRect, to view: UIView?) -> CGRect
func convert(_ rect: CGRect, from view: UIView?) -> CGRect
var autoresizesSubviews: Bool
var autoresizingMask: UIViewAutoresizing
func sizeThatFits(_ size: CGSize) -> CGSize
func sizeToFit()
var userActivity: NSUserActivity?
func updateUserActivityState(_ activity: NSUserActivity)
func restoreUserActivityState(_ activity: NSUserActivity)
var inputView: UIView? { get }
var inputAccessoryView: UIView? { get }
var inputAssistantItem: UITextInputAssistantItem { get }
var inputViewController: UIInputViewController? { get }
var inputAccessoryViewController: UIInputViewController? { get }
var textInputMode: UITextInputMode? { get }
var textInputContextIdentifier: String? { get }
class func clearTextInputContextIdentifier(_ identifier: String)
func reloadInputViews()
var keyCommands: [UIKeyCommand]? { get }
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension MPVolumeView : UIAccessibilityIdentification {
}
extension MPVolumeView : CVarArg {
}
extension MPVolumeView : Equatable, Hashable {
var hashValue: Int { get }
} |