diff --git a/Borepin.sln b/Borepin.sln
index 120a8b2..011075a 100644
--- a/Borepin.sln
+++ b/Borepin.sln
@@ -13,6 +13,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Borepin", "Borepin\Borepin\
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Borepin.GTK", "Borepin\Borepin.GTK\Borepin.GTK.csproj", "{61D956D2-5819-4736-BBD8-AD8208DE6A62}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Borepin.macOS", "Borepin\Borepin.macOS\Borepin.macOS.csproj", "{3EC23FE7-395E-4BBC-B56B-9455354BDA34}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -197,6 +199,30 @@ Global
{61D956D2-5819-4736-BBD8-AD8208DE6A62}.Release|x64.Build.0 = Release|Any CPU
{61D956D2-5819-4736-BBD8-AD8208DE6A62}.Release|x86.ActiveCfg = Release|Any CPU
{61D956D2-5819-4736-BBD8-AD8208DE6A62}.Release|x86.Build.0 = Release|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Debug|ARM.ActiveCfg = Debug|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Debug|ARM.Build.0 = Debug|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Debug|iPhone.ActiveCfg = Debug|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Debug|iPhone.Build.0 = Debug|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Debug|x64.Build.0 = Debug|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Debug|x86.Build.0 = Debug|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Release|ARM.ActiveCfg = Release|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Release|ARM.Build.0 = Release|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Release|iPhone.ActiveCfg = Release|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Release|iPhone.Build.0 = Release|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Release|x64.ActiveCfg = Release|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Release|x64.Build.0 = Release|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Release|x86.ActiveCfg = Release|Any CPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/Borepin/Borepin.Android/Borepin.Android.csproj b/Borepin/Borepin.Android/Borepin.Android.csproj
index cfc70b8..afcad44 100644
--- a/Borepin/Borepin.Android/Borepin.Android.csproj
+++ b/Borepin/Borepin.Android/Borepin.Android.csproj
@@ -16,7 +16,6 @@
Properties\AndroidManifest.xml
Resources
Assets
- false
v9.0
true
true
@@ -90,7 +89,7 @@
- {64ED6CAA-99A0-4EC4-B976-DCBD571F05D7}
+ {F93856BD-0C8D-4469-A8DB-6E513002BFD7}
Borepin
diff --git a/Borepin/Borepin.Android/Properties/AndroidManifest.xml b/Borepin/Borepin.Android/Properties/AndroidManifest.xml
index ab03cd2..b1a6b3c 100644
--- a/Borepin/Borepin.Android/Properties/AndroidManifest.xml
+++ b/Borepin/Borepin.Android/Properties/AndroidManifest.xml
@@ -1,6 +1,6 @@
-
+
-
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/Borepin/Borepin.GTK/Borepin.GTK.csproj b/Borepin/Borepin.GTK/Borepin.GTK.csproj
index 88e62b1..56ab842 100644
--- a/Borepin/Borepin.GTK/Borepin.GTK.csproj
+++ b/Borepin/Borepin.GTK/Borepin.GTK.csproj
@@ -1,5 +1,5 @@
-
+
diff --git a/Borepin/Borepin.macOS/AppDelegate.cs b/Borepin/Borepin.macOS/AppDelegate.cs
new file mode 100644
index 0000000..b389a19
--- /dev/null
+++ b/Borepin/Borepin.macOS/AppDelegate.cs
@@ -0,0 +1,35 @@
+using AppKit;
+using Foundation;
+using Xamarin.Forms;
+using Xamarin.Forms.Platform.MacOS;
+using Borepin;
+
+namespace Borepin.macOS
+{
+ [Register("AppDelegate")]
+ public class AppDelegate : FormsApplicationDelegate
+ {
+ NSWindow window;
+ public AppDelegate()
+ {
+ var style = NSWindowStyle.Closable | NSWindowStyle.Resizable | NSWindowStyle.Titled;
+
+ var rect = new CoreGraphics.CGRect(200, 1000, 1024, 768);
+ window = new NSWindow(rect, style, NSBackingStore.Buffered, false);
+ window.Title = "Xamarin.Forms on Mac!"; // choose your own Title here
+ window.TitleVisibility = NSWindowTitleVisibility.Hidden;
+ }
+
+ public override NSWindow MainWindow
+ {
+ get { return window; }
+ }
+
+ public override void DidFinishLaunching(NSNotification notification)
+ {
+ Forms.Init();
+ LoadApplication(new App());
+ base.DidFinishLaunching(notification);
+ }
+ }
+}
\ No newline at end of file
diff --git a/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-128.png b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-128.png
new file mode 100644
index 0000000..d0b5a80
Binary files /dev/null and b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-128.png differ
diff --git a/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-128@2x.png b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-128@2x.png
new file mode 100644
index 0000000..f4c8d29
Binary files /dev/null and b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-128@2x.png differ
diff --git a/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-16.png b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-16.png
new file mode 100644
index 0000000..ebb5a0f
Binary files /dev/null and b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-16.png differ
diff --git a/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-16@2x.png b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-16@2x.png
new file mode 100644
index 0000000..0986d31
Binary files /dev/null and b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-16@2x.png differ
diff --git a/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-256.png b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-256.png
new file mode 100644
index 0000000..f4c8d29
Binary files /dev/null and b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-256.png differ
diff --git a/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-256@2x.png b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-256@2x.png
new file mode 100644
index 0000000..a142c83
Binary files /dev/null and b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-256@2x.png differ
diff --git a/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-32.png b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-32.png
new file mode 100644
index 0000000..0986d31
Binary files /dev/null and b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-32.png differ
diff --git a/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-32@2x.png b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-32@2x.png
new file mode 100644
index 0000000..412d6ca
Binary files /dev/null and b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-32@2x.png differ
diff --git a/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-512.png b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-512.png
new file mode 100644
index 0000000..a142c83
Binary files /dev/null and b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-512.png differ
diff --git a/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png
new file mode 100644
index 0000000..e99022a
Binary files /dev/null and b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png differ
diff --git a/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/Contents.json b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 0000000..6b28545
--- /dev/null
+++ b/Borepin/Borepin.macOS/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,68 @@
+{
+ "images": [
+ {
+ "filename": "AppIcon-16.png",
+ "size": "16x16",
+ "scale": "1x",
+ "idiom": "mac"
+ },
+ {
+ "filename": "AppIcon-16@2x.png",
+ "size": "16x16",
+ "scale": "2x",
+ "idiom": "mac"
+ },
+ {
+ "filename": "AppIcon-32.png",
+ "size": "32x32",
+ "scale": "1x",
+ "idiom": "mac"
+ },
+ {
+ "filename": "AppIcon-32@2x.png",
+ "size": "32x32",
+ "scale": "2x",
+ "idiom": "mac"
+ },
+ {
+ "filename": "AppIcon-128.png",
+ "size": "128x128",
+ "scale": "1x",
+ "idiom": "mac"
+ },
+ {
+ "filename": "AppIcon-128@2x.png",
+ "size": "128x128",
+ "scale": "2x",
+ "idiom": "mac"
+ },
+ {
+ "filename": "AppIcon-256.png",
+ "size": "256x256",
+ "scale": "1x",
+ "idiom": "mac"
+ },
+ {
+ "filename": "AppIcon-256@2x.png",
+ "size": "256x256",
+ "scale": "2x",
+ "idiom": "mac"
+ },
+ {
+ "filename": "AppIcon-512.png",
+ "size": "512x512",
+ "scale": "1x",
+ "idiom": "mac"
+ },
+ {
+ "filename": "AppIcon-512@2x.png",
+ "size": "512x512",
+ "scale": "2x",
+ "idiom": "mac"
+ }
+ ],
+ "info": {
+ "version": 1,
+ "author": "xcode"
+ }
+}
\ No newline at end of file
diff --git a/Borepin/Borepin.macOS/Assets.xcassets/Contents.json b/Borepin/Borepin.macOS/Assets.xcassets/Contents.json
new file mode 100644
index 0000000..4caf392
--- /dev/null
+++ b/Borepin/Borepin.macOS/Assets.xcassets/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/Borepin/Borepin.macOS/Borepin.macOS.csproj b/Borepin/Borepin.macOS/Borepin.macOS.csproj
new file mode 100644
index 0000000..21177a9
--- /dev/null
+++ b/Borepin/Borepin.macOS/Borepin.macOS.csproj
@@ -0,0 +1,108 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {3EC23FE7-395E-4BBC-B56B-9455354BDA34}
+ {A3F8F2AB-B479-4A4A-A458-A89E7DC349F1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ Exe
+ Borepin.macOS
+ FabAccess
+ v2.0
+ Xamarin.Mac
+ Resources
+
+
+ true
+ full
+ false
+ bin\Debug
+ DEBUG;
+ prompt
+ 4
+ false
+ Mac Developer
+ false
+ false
+ false
+ true
+ true
+
+
+
+
+
+ pdbonly
+ true
+ bin\Release
+
+ prompt
+ 4
+ false
+ true
+ false
+ true
+ true
+ true
+ Entitlements.plist
+ SdkOnly
+
+
+
+
+
+
+
+
+ ..\..\packages\Xamarin.Forms.4.8.0.1364\lib\Xamarin.Mac\Xamarin.Forms.Core.dll
+
+
+ ..\..\packages\Xamarin.Forms.4.8.0.1364\lib\Xamarin.Mac\Xamarin.Forms.Platform.dll
+
+
+ ..\..\packages\Xamarin.Forms.4.8.0.1364\lib\Xamarin.Mac\Xamarin.Forms.Xaml.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ViewController.cs
+
+
+
+
+
+
+
+ {F93856BD-0C8D-4469-A8DB-6E513002BFD7}
+ Borepin
+
+
+
+
+
\ No newline at end of file
diff --git a/Borepin/Borepin.macOS/Entitlements.plist b/Borepin/Borepin.macOS/Entitlements.plist
new file mode 100644
index 0000000..9ae5993
--- /dev/null
+++ b/Borepin/Borepin.macOS/Entitlements.plist
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/Borepin/Borepin.macOS/Info.plist b/Borepin/Borepin.macOS/Info.plist
new file mode 100644
index 0000000..4df13ec
--- /dev/null
+++ b/Borepin/Borepin.macOS/Info.plist
@@ -0,0 +1,33 @@
+
+
+
+
+ CFBundleName
+ FabAccess
+ CFBundleIdentifier
+ com.companyname.FabAccess
+ CFBundleShortVersionString
+ 1.0
+ CFBundleVersion
+ 1
+ LSMinimumSystemVersion
+ 10.14
+ CFBundleDevelopmentRegion
+ en
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundlePackageType
+ APPL
+ CFBundleSignature
+ ????
+ NSHumanReadableCopyright
+ ${AuthorCopyright:HtmlEncode}
+ NSPrincipalClass
+ NSApplication
+ NSMainStoryboardFile
+ Main
+ XSAppIconAssets
+ Assets.xcassets/AppIcon.appiconset
+
+
+
diff --git a/Borepin/Borepin.macOS/Main.cs b/Borepin/Borepin.macOS/Main.cs
new file mode 100644
index 0000000..6dbbd3c
--- /dev/null
+++ b/Borepin/Borepin.macOS/Main.cs
@@ -0,0 +1,14 @@
+using AppKit;
+
+namespace Borepin.macOS
+{
+ static class MainClass
+ {
+ static void Main(string[] args)
+ {
+ NSApplication.Init();
+ NSApplication.SharedApplication.Delegate = new AppDelegate(); // add this line
+ NSApplication.Main(args);
+ }
+ }
+}
diff --git a/Borepin/Borepin.macOS/Main.storyboard b/Borepin/Borepin.macOS/Main.storyboard
new file mode 100644
index 0000000..a1fde6c
--- /dev/null
+++ b/Borepin/Borepin.macOS/Main.storyboard
@@ -0,0 +1,719 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Borepin/Borepin.macOS/ViewController.cs b/Borepin/Borepin.macOS/ViewController.cs
new file mode 100644
index 0000000..31a44ba
--- /dev/null
+++ b/Borepin/Borepin.macOS/ViewController.cs
@@ -0,0 +1,34 @@
+using System;
+
+using AppKit;
+using Foundation;
+
+namespace Borepin.macOS
+{
+ public partial class ViewController : NSViewController
+ {
+ public ViewController(IntPtr handle) : base(handle)
+ {
+ }
+
+ public override void ViewDidLoad()
+ {
+ base.ViewDidLoad();
+
+ // Do any additional setup after loading the view.
+ }
+
+ public override NSObject RepresentedObject
+ {
+ get
+ {
+ return base.RepresentedObject;
+ }
+ set
+ {
+ base.RepresentedObject = value;
+ // Update the view, if already loaded.
+ }
+ }
+ }
+}
diff --git a/Borepin/Borepin.macOS/ViewController.designer.cs b/Borepin/Borepin.macOS/ViewController.designer.cs
new file mode 100644
index 0000000..4a671d3
--- /dev/null
+++ b/Borepin/Borepin.macOS/ViewController.designer.cs
@@ -0,0 +1,18 @@
+// WARNING
+//
+// This file has been generated automatically by Xamarin Studio to store outlets and
+// actions made in the UI designer. If it is removed, they will be lost.
+// Manual changes to this file may not be handled correctly.
+//
+using Foundation;
+
+namespace Borepin.macOS
+{
+ [Register("ViewController")]
+ partial class ViewController
+ {
+ void ReleaseDesignerOutlets()
+ {
+ }
+ }
+}
diff --git a/Borepin/Borepin.macOS/packages.config b/Borepin/Borepin.macOS/packages.config
new file mode 100644
index 0000000..f09afaf
--- /dev/null
+++ b/Borepin/Borepin.macOS/packages.config
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file