Forum Discussion

JoeArnon's avatar
JoeArnon
Copper Contributor
Sep 05, 2024

.NET Maui and swift

hi guys,

I'm trying to build a .NET Maui class library which exposes some interface that can be used by a macOS swift application.  I'm using .NET Maui 8.0 and Xcode 15.4

can someone guide me to how it can be done?

here is the example of the interface I want to expose:

namespace BridgesServices
{
   public delegate void doAction(string action);
   public interface IBridgesServices
   {
       bool Init(doAction doAction);
       void SendRequest(string action);
   }
}
No RepliesBe the first to reply

Resources