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 1717
1818// TODO: Merge this file with the iOS FlutterEngine.h.
1919
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-
3120@class FlutterViewController;
3221
3322/* *
Original file line number Diff line number Diff line change @@ -44,11 +44,6 @@ FLUTTER_DARWIN_EXPORT
4444 */
4545@property (nullable , readonly ) NSView * view;
4646
47- /* *
48- * The `NSView` associated with the given view ID, if any.
49- */
50- - (nullable NSView *)viewForId : (uint64_t )viewId ;
51-
5247/* *
5348 * Registers |delegate| to receive handleMethodCall:result: callbacks for the given |channel|.
5449 */
Original file line number Diff line number Diff line change @@ -53,16 +53,6 @@ FLUTTER_DARWIN_EXPORT
5353 */
5454@property (nonatomic , nonnull , readonly ) FlutterEngine* engine;
5555
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-
6656/* *
6757 * The style of mouse tracking to use for the view. Defaults to
6858 * FlutterMouseTrackingModeInKeyWindow.
Original file line number Diff line number Diff line change 1313
1414@interface FlutterViewController () <FlutterKeyboardViewDelegate>
1515
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+
1626// The FlutterView for this view controller.
1727@property (nonatomic , readonly , nullable ) FlutterView* flutterView;
1828
You can’t perform that action at this time.
0 commit comments