|
| 1 | +from rubicon.objc import ObjCClass |
| 2 | + |
| 3 | +# App and Window |
| 4 | +UIApplication = ObjCClass("UIApplication") |
| 5 | +UIWindow = ObjCClass("UIWindow") |
| 6 | + |
| 7 | +# Base classes |
| 8 | +UIView = ObjCClass("UIView") |
| 9 | +UIViewController = ObjCClass("UIViewController") |
| 10 | + |
| 11 | +# Bar classes |
| 12 | +UIBarButtonItem = ObjCClass("UIBarButtonItem") |
| 13 | +UINavigationBar = ObjCClass("UINavigationBar") |
| 14 | +UITabBar = ObjCClass("UITabBar") |
| 15 | +UITabBarItem = ObjCClass("UITabBarItem") |
| 16 | +UIToolbar = ObjCClass("UIToolbar") |
| 17 | + |
| 18 | +# Controls |
| 19 | +UIButton = ObjCClass("UIButton") |
| 20 | +UIDatePicker = ObjCClass("UIDatePicker") |
| 21 | +UIImageView = ObjCClass("UIImageView") |
| 22 | +UILabel = ObjCClass("UILabel") |
| 23 | +UIPickerView = ObjCClass("UIPickerView") |
| 24 | +UIProgressView = ObjCClass("UIProgressView") |
| 25 | +UISegmentedControl = ObjCClass("UISegmentedControl") |
| 26 | +UISlider = ObjCClass("UISlider") |
| 27 | +UISwitch = ObjCClass("UISwitch") |
| 28 | +UITextField = ObjCClass("UITextField") |
| 29 | +UITextView = ObjCClass("UITextView") |
| 30 | + |
| 31 | +# Controllers |
| 32 | +UINavigationController = ObjCClass("UINavigationController") |
| 33 | +UITabBarController = ObjCClass("UITabBarController") |
| 34 | + |
| 35 | +# Indicators |
| 36 | +UIActivityIndicatorView = ObjCClass("UIActivityIndicatorView") |
| 37 | +UIPageControl = ObjCClass("UIPageControl") |
| 38 | +UIProgressView = ObjCClass("UIProgressView") |
| 39 | +UIRefreshControl = ObjCClass("UIRefreshControl") |
| 40 | + |
| 41 | +# Layouts and Views |
| 42 | +UICollectionView = ObjCClass("UICollectionView") |
| 43 | +UIScrollView = ObjCClass("UIScrollView") |
| 44 | +UITableView = ObjCClass("UITableView") |
| 45 | +UIStackView = ObjCClass("UIStackView") |
| 46 | +UIView = ObjCClass("UIView") |
| 47 | + |
| 48 | +# Misc |
| 49 | +UIAlertController = ObjCClass("UIAlertController") |
| 50 | +UIAlertAction = ObjCClass("UIAlertAction") |
| 51 | +UIColor = ObjCClass("UIColor") |
| 52 | + |
| 53 | +# Web view |
| 54 | +WKWebView = ObjCClass("WKWebView") |
| 55 | + |
| 56 | +# Gesture Recognizers |
| 57 | +UIGestureRecognizer = ObjCClass("UIGestureRecognizer") |
| 58 | +UILongPressGestureRecognizer = ObjCClass("UILongPressGestureRecognizer") |
| 59 | +UIPanGestureRecognizer = ObjCClass("UIPanGestureRecognizer") |
| 60 | +UIPinchGestureRecognizer = ObjCClass("UIPinchGestureRecognizer") |
| 61 | +UIRotationGestureRecognizer = ObjCClass("UIRotationGestureRecognizer") |
| 62 | +UIScreenEdgePanGestureRecognizer = ObjCClass("UIScreenEdgePanGestureRecognizer") |
| 63 | +UISwipeGestureRecognizer = ObjCClass("UISwipeGestureRecognizer") |
| 64 | +UITapGestureRecognizer = ObjCClass("UITapGestureRecognizer") |
| 65 | + |
| 66 | +# Audio and Video |
| 67 | +AVAudioPlayer = ObjCClass("AVAudioPlayer") |
| 68 | +AVPlayer = ObjCClass("AVPlayer") |
| 69 | +AVPlayerViewController = ObjCClass("AVPlayerViewController") |
| 70 | +MPMoviePlayerController = ObjCClass("MPMoviePlayerController") |
| 71 | + |
| 72 | +# Data and Documents |
| 73 | +UIDocument = ObjCClass("UIDocument") |
| 74 | +UIDocumentInteractionController = ObjCClass("UIDocumentInteractionController") |
| 75 | +UIDocumentMenuViewController = ObjCClass("UIDocumentMenuViewController") |
| 76 | +UIDocumentPickerViewController = ObjCClass("UIDocumentPickerViewController") |
| 77 | +UIDocumentBrowserViewController = ObjCClass("UIDocumentBrowserViewController") |
| 78 | + |
| 79 | +# Drawing and Graphics |
| 80 | +UIGraphicsImageRenderer = ObjCClass("UIGraphicsImageRenderer") |
| 81 | + |
| 82 | +# Feedback |
| 83 | +UIFeedbackGenerator = ObjCClass("UIFeedbackGenerator") |
| 84 | + |
| 85 | +# Interactions and Effects |
| 86 | +UIBlurEffect = ObjCClass("UIBlurEffect") |
| 87 | +UIInterpolatingMotionEffect = ObjCClass("UIInterpolatingMotionEffect") |
| 88 | +UIVibrancyEffect = ObjCClass("UIVibrancyEffect") |
| 89 | +UIVisualEffect = ObjCClass("UIVisualEffect") |
| 90 | +UIVisualEffectView = ObjCClass("UIVisualEffectView") |
| 91 | + |
| 92 | +# Popovers and Modality |
| 93 | +UIPopoverController = ObjCClass("UIPopoverController") |
| 94 | +UIPresentationController = ObjCClass("UIPresentationController") |
| 95 | + |
| 96 | +# Printing |
| 97 | +UIPrintInteractionController = ObjCClass("UIPrintInteractionController") |
| 98 | +UIPrintPageRenderer = ObjCClass("UIPrintPageRenderer") |
| 99 | +UIPrintPaper = ObjCClass("UIPrintPaper") |
| 100 | + |
| 101 | +# Text and Fonts |
| 102 | +UIFont = ObjCClass("UIFont") |
| 103 | +UIFontDescriptor = ObjCClass("UIFontDescriptor") |
| 104 | + |
| 105 | +# Touches and Gestures |
| 106 | +UITouch = ObjCClass("UITouch") |
| 107 | + |
| 108 | +# Traits and Environment |
| 109 | +UITraitCollection = ObjCClass("UITraitCollection") |
| 110 | + |
| 111 | +# View Controller Presentation |
| 112 | +UIAdaptivePresentationControllerDelegate = ObjCClass( |
| 113 | + "UIAdaptivePresentationControllerDelegate" |
| 114 | +) |
| 115 | + |
| 116 | +# View Management |
| 117 | +UILayoutGuide = ObjCClass("UILayoutGuide") |
| 118 | +UIResponder = ObjCClass("UIResponder") |
| 119 | +UIScreen = ObjCClass("UIScreen") |
| 120 | +UIViewPropertyAnimator = ObjCClass("UIViewPropertyAnimator") |
| 121 | +UIWindowScene = ObjCClass("UIWindowScene") |
| 122 | + |
| 123 | +# Visualization |
| 124 | +UIBezierPath = ObjCClass("UIBezierPath") |
| 125 | +UIGraphicsRenderer = ObjCClass("UIGraphicsRenderer") |
| 126 | +UIGraphicsRendererContext = ObjCClass("UIGraphicsRendererContext") |
| 127 | +UIGraphicsRendererFormat = ObjCClass("UIGraphicsRendererFormat") |
| 128 | +UIImage = ObjCClass("UIImage") |
| 129 | +UIMotionEffect = ObjCClass("UIMotionEffect") |
| 130 | + |
| 131 | +# Miscellaneous |
| 132 | +UILocalNotification = ObjCClass("UILocalNotification") |
0 commit comments