Skip to content

Commit

Permalink
🛁 Cleanup: RNIContextMenuButtonContent
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Aug 29, 2024
1 parent 28d2324 commit b74437b
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions ios/RNIContextMenuButton/RNIContextMenuButtonContent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -122,34 +122,14 @@ public final class RNIContextMenuButtonContent: UIButton, RNIContentView {
// MARK: Init
// ----------

public static func instanceMaker(
public static func createInstance(
sender: RNIContentViewParentDelegate,
frame: CGRect
) -> RNIContextMenuButtonContent {

return .init();
};

// MARK: View Lifecycle
// --------------------

public override func didMoveToWindow() {
guard self.window != nil,
let parentReactView = self.parentReactView
else { return };

// if shouldAttachToParentVC {
// // begin setup - attach this view as child vc
// self.attachToParentVC();
// };

print(
"RNIContextMenuButtonDelegate.didMoveToWindow",
"\n - reactProps:", self.reactProps.description,
"\n"
);
};

// MARK: Functions - Setup
// -----------------------

Expand Down

0 comments on commit b74437b

Please sign in to comment.