| Flutter iOS Embedder |

FlutterSemanticsScrollView.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SHELL_PLATFORM_IOS_FRAMEWORK_SOURCE_FLUTTER_SEMANTICS_SCROLL_VIEW_H_
6 #define SHELL_PLATFORM_IOS_FRAMEWORK_SOURCE_FLUTTER_SEMANTICS_SCROLL_VIEW_H_
7
8 #import <UIKit/UIKit.h>
9
10 NS_ASSUME_NONNULL_BEGIN
11 @class SemanticsObject;
12
13 /**
14 * A UIScrollView to represent Flutter scrollable in iOS accessibility
15 * services.
16 *
17 * This class is hidden from the user and can't be interacted with. It
18 * sends all of selector calls from accessibility services to the
19 * owner SemanticsObject.
20 */
21 @interface FlutterSemanticsScrollView : UIScrollView
22
23 @property(nonatomic, assign, nullable) SemanticsObject* semanticsObject;
24
25 - (instancetype)init NS_UNAVAILABLE;
26 - (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;
27 - (instancetype)initWithCoder:(NSCoder*)coder NS_UNAVAILABLE;
28 - (instancetype)initWithSemanticsObject:(SemanticsObject*)semanticsObject;
29
30 @end
31 NS_ASSUME_NONNULL_END
32 #endif // SHELL_PLATFORM_IOS_FRAMEWORK_SOURCE_FLUTTER_SEMANTICS_SCROLL_VIEW_H_
FlutterSemanticsScrollView::semanticsObject
SemanticsObject * semanticsObject
Definition: FlutterSemanticsScrollView.h:23
NS_ASSUME_NONNULL_END
#define NS_ASSUME_NONNULL_END
Definition: FlutterMacros.h:20
-[FlutterSemanticsScrollView NS_UNAVAILABLE]
instancetype NS_UNAVAILABLE()
NS_ASSUME_NONNULL_BEGIN
#define NS_ASSUME_NONNULL_BEGIN
Definition: FlutterMacros.h:19
initWithFrame
instancetype initWithFrame
Definition: FlutterTextInputPlugin.h:164
FlutterSemanticsScrollView
Definition: FlutterSemanticsScrollView.h:21
initWithCoder
instancetype initWithCoder
Definition: FlutterTextInputPlugin.h:163
SemanticsObject
Definition: SemanticsObject.h:30