This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +10
-26
lines changed
shell/platform/darwin/macos/framework Expand file tree Collapse file tree 4 files changed +10
-26
lines changed Original file line number Diff line number Diff line change 17
17
18
18
// TODO: Merge this file with the iOS FlutterEngine.h.
19
19
20
- /* *
21
- * The view ID for APIs that don't support multi-view.
22
- *
23
- * Some single-view APIs will eventually be replaced by their multi-view
24
- * variant. During the deprecation period, the single-view APIs will coexist with
25
- * and work with the multi-view APIs as if the other views don't exist. For
26
- * backward compatibility, single-view APIs will always operate on the view with
27
- * this ID. Also, the first view assigned to the engine will also have this ID.
28
- */
29
- extern const uint64_t kFlutterDefaultViewId ;
30
-
31
20
@class FlutterViewController;
32
21
33
22
/* *
Original file line number Diff line number Diff line change @@ -44,11 +44,6 @@ FLUTTER_DARWIN_EXPORT
44
44
*/
45
45
@property (nullable , readonly ) NSView * view;
46
46
47
- /* *
48
- * The `NSView` associated with the given view ID, if any.
49
- */
50
- - (nullable NSView *)viewForId : (uint64_t )viewId ;
51
-
52
47
/* *
53
48
* Registers |delegate| to receive handleMethodCall:result: callbacks for the given |channel|.
54
49
*/
Original file line number Diff line number Diff line change @@ -53,16 +53,6 @@ FLUTTER_DARWIN_EXPORT
53
53
*/
54
54
@property (nonatomic , nonnull , readonly ) FlutterEngine* engine;
55
55
56
- /* *
57
- * The identifier for this view controller.
58
- *
59
- * The ID is assigned by FlutterEngine when the view controller is attached.
60
- *
61
- * If the view controller is unattached (see FlutterViewController#attached),
62
- * reading this property throws an assertion.
63
- */
64
- @property (nonatomic , readonly ) uint64_t viewId;
65
-
66
56
/* *
67
57
* The style of mouse tracking to use for the view. Defaults to
68
58
* FlutterMouseTrackingModeInKeyWindow.
Original file line number Diff line number Diff line change 13
13
14
14
@interface FlutterViewController () <FlutterKeyboardViewDelegate>
15
15
16
+ /* *
17
+ * The identifier for this view controller.
18
+ *
19
+ * The ID is assigned by FlutterEngine when the view controller is attached.
20
+ *
21
+ * If the view controller is unattached (see FlutterViewController#attached),
22
+ * reading this property throws an assertion.
23
+ */
24
+ @property (nonatomic , readonly ) uint64_t viewId;
25
+
16
26
// The FlutterView for this view controller.
17
27
@property (nonatomic , readonly , nullable ) FlutterView* flutterView;
18
28
You can’t perform that action at this time.
0 commit comments