Skip to content

Commit b74437b

Browse files
committed
🛁 Cleanup: RNIContextMenuButtonContent
1 parent 28d2324 commit b74437b

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

ios/RNIContextMenuButton/RNIContextMenuButtonContent.swift

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -122,34 +122,14 @@ public final class RNIContextMenuButtonContent: UIButton, RNIContentView {
122122
// MARK: Init
123123
// ----------
124124

125-
public static func instanceMaker(
125+
public static func createInstance(
126126
sender: RNIContentViewParentDelegate,
127127
frame: CGRect
128128
) -> RNIContextMenuButtonContent {
129129

130130
return .init();
131131
};
132132

133-
// MARK: View Lifecycle
134-
// --------------------
135-
136-
public override func didMoveToWindow() {
137-
guard self.window != nil,
138-
let parentReactView = self.parentReactView
139-
else { return };
140-
141-
// if shouldAttachToParentVC {
142-
// // begin setup - attach this view as child vc
143-
// self.attachToParentVC();
144-
// };
145-
146-
print(
147-
"RNIContextMenuButtonDelegate.didMoveToWindow",
148-
"\n - reactProps:", self.reactProps.description,
149-
"\n"
150-
);
151-
};
152-
153133
// MARK: Functions - Setup
154134
// -----------------------
155135

0 commit comments

Comments
 (0)