Skip to content

Commit

Permalink
WIRE UP TO CATALYST
Browse files Browse the repository at this point in the history
  • Loading branch information
PureWeen committed Aug 1, 2023
1 parent 4a887b7 commit bb1fe1d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
13 changes: 13 additions & 0 deletions ShanedlerSamples/Platforms/MacCatalyst/AppDelegate.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
using Foundation;
using UIKit;

namespace ShanedlerSamples;

[Register("AppDelegate")]
public class AppDelegate : MauiUIApplicationDelegate
{
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();



public override void PressesBegan(NSSet<UIPress> presses, UIPressesEvent evt)
{
base.PressesBegan(presses, evt);
}

public override void PressesEnded(NSSet<UIPress> presses, UIPressesEvent evt)
{
base.PressesEnded(presses, evt);
}
}
11 changes: 0 additions & 11 deletions ShanedlerSamples/Platforms/iOS/AppDelegate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,4 @@ namespace ShanedlerSamples;
public class AppDelegate : MauiUIApplicationDelegate
{
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();


public override void PressesBegan(NSSet<UIPress> presses, UIPressesEvent evt)
{
base.PressesBegan(presses, evt);
}

public override void PressesEnded(NSSet<UIPress> presses, UIPressesEvent evt)
{
base.PressesEnded(presses, evt);
}
}

0 comments on commit bb1fe1d

Please sign in to comment.