summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.MacOS/Controls/FormsPageControllerDelegate.cs
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-03-24 13:50:01 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-03-24 13:50:01 +0900
commit20daaa5702a27d1a9c7cf9dfacfdfa254ac0e5e3 (patch)
tree0a939ebe2281567132f691d5ef22b8622ad1abf9 /Xamarin.Forms.Platform.MacOS/Controls/FormsPageControllerDelegate.cs
parent5e51e33310bda10d386289ef9812a008b9145454 (diff)
downloadxamarin-forms-20daaa5702a27d1a9c7cf9dfacfdfa254ac0e5e3.tar.gz
xamarin-forms-20daaa5702a27d1a9c7cf9dfacfdfa254ac0e5e3.tar.bz2
xamarin-forms-20daaa5702a27d1a9c7cf9dfacfdfa254ac0e5e3.zip
Remove Xamarin.Forms.Platform.MacOS
Change-Id: Id39aa5f2767487b42a77884fd0180244f027f4a3
Diffstat (limited to 'Xamarin.Forms.Platform.MacOS/Controls/FormsPageControllerDelegate.cs')
-rw-r--r--Xamarin.Forms.Platform.MacOS/Controls/FormsPageControllerDelegate.cs29
1 files changed, 0 insertions, 29 deletions
diff --git a/Xamarin.Forms.Platform.MacOS/Controls/FormsPageControllerDelegate.cs b/Xamarin.Forms.Platform.MacOS/Controls/FormsPageControllerDelegate.cs
deleted file mode 100644
index 5fb7455c..00000000
--- a/Xamarin.Forms.Platform.MacOS/Controls/FormsPageControllerDelegate.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using System;
-using AppKit;
-using Foundation;
-
-namespace Xamarin.Forms.Platform.MacOS
-{
- internal class FormsPageControllerDelegate : NSPageControllerDelegate
- {
- readonly Func<NSObject, string> _getIdentifier;
- readonly Func<string, NSViewController> _getViewController;
-
- public FormsPageControllerDelegate(Func<NSObject, string> getIdentifier,
- Func<string, NSViewController> getViewController)
- {
- _getIdentifier = getIdentifier;
- _getViewController = getViewController;
- }
-
- public override NSViewController GetViewController(NSPageController pageController, string identifier)
- {
- return _getViewController(identifier);
- }
-
- public override string GetIdentifier(NSPageController pv, NSObject obj)
- {
- return _getIdentifier(obj);
- }
- }
-} \ No newline at end of file