Enums
The following enums are available globally.
-
Enum to pass to methods that can present a
UIViewController
modally from multiple sources. This removes the the need for providing two APIs or specifyingAnyObject
as the parameter type and maintains type safety.Seealso
openURL(_:fromSourceItem:inViewController:)
Declaration
Swift
public enum UIPopoverSourceType