@@ -707,6 +707,7 @@ @interface FlutterTextInputPlugin ()
707707@end
708708
709709@interface FlutterTextInputView ()
710+ @property (nonatomic , weak , readonly ) FlutterTextInputPlugin* textInputPlugin;
710711@property (nonatomic , copy ) NSString * autofillId;
711712@property (nonatomic , readonly ) CATransform3D editableTransform;
712713@property (nonatomic , assign ) CGRect markedRect;
@@ -721,7 +722,6 @@ - (void)setEditableTransform:(NSArray*)matrix;
721722@end
722723
723724@implementation FlutterTextInputView {
724- __weak FlutterTextInputPlugin* _textInputPlugin;
725725 int _textInputClient;
726726 const char * _selectionAffinity;
727727 FlutterTextRange* _selectedTextRange;
@@ -2041,11 +2041,11 @@ @interface FlutterTextInputPlugin ()
20412041@property (nonatomic , retain ) FlutterTextInputView* activeView;
20422042@property (nonatomic , retain ) FlutterTextInputViewAccessibilityHider* inputHider;
20432043@property (nonatomic , readonly ) id <FlutterViewResponder> viewResponder;
2044+ @property (nonatomic , readonly , weak ) id <FlutterTextInputDelegate> textInputDelegate;
20442045@end
20452046
20462047@implementation FlutterTextInputPlugin {
20472048 NSTimer * _enableFlutterTextInputViewAccessibilityTimer;
2048- __weak id <FlutterTextInputDelegate> _textInputDelegate;
20492049}
20502050
20512051- (instancetype )initWithDelegate : (id <FlutterTextInputDelegate>)textInputDelegate {
0 commit comments