summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS/Cells
diff options
context:
space:
mode:
authorRui Marinho <me@ruimarinho.net>2016-09-14 22:56:17 +0100
committerGitHub <noreply@github.com>2016-09-14 22:56:17 +0100
commiteb79ff842e701ca4d2c9e1c9d02f654fd2c0f058 (patch)
treef19a733800ada7f18584a35e2f2c8c01dca9245e /Xamarin.Forms.Platform.iOS/Cells
parente6a2bed3b2a532aa2f937fc6a2957458f4680ef9 (diff)
downloadxamarin-forms-eb79ff842e701ca4d2c9e1c9d02f654fd2c0f058.tar.gz
xamarin-forms-eb79ff842e701ca4d2c9e1c9d02f654fd2c0f058.tar.bz2
xamarin-forms-eb79ff842e701ca4d2c9e1c9d02f654fd2c0f058.zip
Remove iOS classic from CI system (#353)beta-2.3.3-pre2
* [CI] Remove classic from build * [Build] Remove classic forwarder * [Nuget] Remove classic from Pages azure * [Build] Remove classic csproj * [IOS] Remove _UNIFIED_
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/Cells')
-rw-r--r--Xamarin.Forms.Platform.iOS/Cells/CellRenderer.cs9
-rw-r--r--Xamarin.Forms.Platform.iOS/Cells/CellTableViewCell.cs8
-rw-r--r--Xamarin.Forms.Platform.iOS/Cells/EntryCellRenderer.cs14
-rw-r--r--Xamarin.Forms.Platform.iOS/Cells/ImageCellRenderer.cs9
-rw-r--r--Xamarin.Forms.Platform.iOS/Cells/SwitchCellRenderer.cs5
-rw-r--r--Xamarin.Forms.Platform.iOS/Cells/TextCellRenderer.cs5
-rw-r--r--Xamarin.Forms.Platform.iOS/Cells/ViewCellRenderer.cs15
7 files changed, 3 insertions, 62 deletions
diff --git a/Xamarin.Forms.Platform.iOS/Cells/CellRenderer.cs b/Xamarin.Forms.Platform.iOS/Cells/CellRenderer.cs
index 3ec12bd8..ea0e8d3f 100644
--- a/Xamarin.Forms.Platform.iOS/Cells/CellRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/Cells/CellRenderer.cs
@@ -1,13 +1,6 @@
using System;
-using Xamarin.Forms.Internals;
-#if __UNIFIED__
using UIKit;
-using Foundation;
-
-#else
-using MonoTouch.UIKit;
-using MonoTouch.Foundation;
-#endif
+using Xamarin.Forms.Internals;
namespace Xamarin.Forms.Platform.iOS
{
diff --git a/Xamarin.Forms.Platform.iOS/Cells/CellTableViewCell.cs b/Xamarin.Forms.Platform.iOS/Cells/CellTableViewCell.cs
index 39bedf4b..e32e86cd 100644
--- a/Xamarin.Forms.Platform.iOS/Cells/CellTableViewCell.cs
+++ b/Xamarin.Forms.Platform.iOS/Cells/CellTableViewCell.cs
@@ -1,13 +1,7 @@
using System;
using System.ComponentModel;
-using Xamarin.Forms.Internals;
-#if __UNIFIED__
using UIKit;
-#else
-using MonoTouch.UIKit;
-#endif
-
namespace Xamarin.Forms.Platform.iOS
{
public class CellTableViewCell : UITableViewCell, INativeElementView
@@ -32,7 +26,7 @@ namespace Xamarin.Forms.Platform.iOS
if (cellController != null)
Device.BeginInvokeOnMainThread(cellController.SendDisappearing);
-
+
_cell = value;
cellController = value;
diff --git a/Xamarin.Forms.Platform.iOS/Cells/EntryCellRenderer.cs b/Xamarin.Forms.Platform.iOS/Cells/EntryCellRenderer.cs
index e94e0ea5..b00ff9dd 100644
--- a/Xamarin.Forms.Platform.iOS/Cells/EntryCellRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/Cells/EntryCellRenderer.cs
@@ -1,21 +1,7 @@
using System;
using System.ComponentModel;
-using System.Drawing;
-#if __UNIFIED__
using UIKit;
-#else
-using MonoTouch.UIKit;
-#endif
-#if __UNIFIED__
using RectangleF = CoreGraphics.CGRect;
-using SizeF = CoreGraphics.CGSize;
-using PointF = CoreGraphics.CGPoint;
-
-#else
-using nfloat=System.Single;
-using nint=System.Int32;
-using nuint=System.UInt32;
-#endif
namespace Xamarin.Forms.Platform.iOS
{
diff --git a/Xamarin.Forms.Platform.iOS/Cells/ImageCellRenderer.cs b/Xamarin.Forms.Platform.iOS/Cells/ImageCellRenderer.cs
index 010319ba..38aae375 100644
--- a/Xamarin.Forms.Platform.iOS/Cells/ImageCellRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/Cells/ImageCellRenderer.cs
@@ -1,14 +1,7 @@
using System.ComponentModel;
using System.Threading.Tasks;
-using Xamarin.Forms.Internals;
-#if __UNIFIED__
-using UIKit;
using Foundation;
-
-#else
-using MonoTouch.UIKit;
-using MonoTouch.Foundation;
-#endif
+using UIKit;
namespace Xamarin.Forms.Platform.iOS
{
diff --git a/Xamarin.Forms.Platform.iOS/Cells/SwitchCellRenderer.cs b/Xamarin.Forms.Platform.iOS/Cells/SwitchCellRenderer.cs
index ed7ddc10..d93ec5c1 100644
--- a/Xamarin.Forms.Platform.iOS/Cells/SwitchCellRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/Cells/SwitchCellRenderer.cs
@@ -1,13 +1,8 @@
using System;
using System.ComponentModel;
using System.Drawing;
-#if __UNIFIED__
using UIKit;
-#else
-using MonoTouch.UIKit;
-#endif
-
namespace Xamarin.Forms.Platform.iOS
{
public class SwitchCellRenderer : CellRenderer
diff --git a/Xamarin.Forms.Platform.iOS/Cells/TextCellRenderer.cs b/Xamarin.Forms.Platform.iOS/Cells/TextCellRenderer.cs
index 41c43341..2f5cfdd1 100644
--- a/Xamarin.Forms.Platform.iOS/Cells/TextCellRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/Cells/TextCellRenderer.cs
@@ -1,11 +1,6 @@
using System.ComponentModel;
-#if __UNIFIED__
using UIKit;
-#else
-using MonoTouch.UIKit;
-#endif
-
namespace Xamarin.Forms.Platform.iOS
{
public class TextCellRenderer : CellRenderer
diff --git a/Xamarin.Forms.Platform.iOS/Cells/ViewCellRenderer.cs b/Xamarin.Forms.Platform.iOS/Cells/ViewCellRenderer.cs
index d1cd9399..8f8a92ce 100644
--- a/Xamarin.Forms.Platform.iOS/Cells/ViewCellRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/Cells/ViewCellRenderer.cs
@@ -1,23 +1,8 @@
using System;
using System.ComponentModel;
-using Xamarin.Forms.Internals;
-
-#if __UNIFIED__
using UIKit;
-#else
-using MonoTouch.UIKit;
-using System.Drawing;
-#endif
-#if __UNIFIED__
using RectangleF = CoreGraphics.CGRect;
using SizeF = CoreGraphics.CGSize;
-using PointF = CoreGraphics.CGPoint;
-
-#else
-using nfloat=System.Single;
-using nint=System.Int32;
-using nuint=System.UInt32;
-#endif
namespace Xamarin.Forms.Platform.iOS
{