From a316917097d5c52bb3c08ae5b5017c55eb3af5ee Mon Sep 17 00:00:00 2001 From: Rui Marinho Date: Sun, 11 Dec 2016 00:40:09 +0000 Subject: [PATCH] =?UTF-8?q?[iOS]=C2=A0Cleanup=20extra=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ios/Facebook.Yoga.iOS.Test/ViewController.cs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/csharp/Facebook.Yoga/ios/Facebook.Yoga.iOS.Test/ViewController.cs b/csharp/Facebook.Yoga/ios/Facebook.Yoga.iOS.Test/ViewController.cs index 7256eb90..7bd8c1b9 100644 --- a/csharp/Facebook.Yoga/ios/Facebook.Yoga.iOS.Test/ViewController.cs +++ b/csharp/Facebook.Yoga/ios/Facebook.Yoga.iOS.Test/ViewController.cs @@ -7,20 +7,6 @@ using UIKit; namespace Facebook.Yoga.iOS.Test { - public static class UIViewYogaExtensions - { - public static void ApplyYogaLayout(this UIView view, YogaNode n) - { - view.Frame = new CGRect(n.LayoutX, n.LayoutY, n.LayoutWidth, n.LayoutHeight); - // This assumes your YogaNode and NSView children were inserted in same order - for (int i = 0; i < n.Count; ++i) - { - YogaNode childNode = n[i]; - view.Subviews[i].Frame = new CGRect(childNode.LayoutX, childNode.LayoutY, childNode.LayoutWidth, childNode.LayoutHeight); - } - } - } - public partial class ViewController : UIViewController { protected ViewController(IntPtr handle) : base(handle)