From 98e613686f9d5e3966a16ad6c1198fbd9a0ad075 Mon Sep 17 00:00:00 2001 From: Robert Payne Date: Thu, 24 Nov 2016 17:21:04 +1300 Subject: [PATCH] Reverse Objective-Cifying of Constraint --- Source/Constraint.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/Constraint.swift b/Source/Constraint.swift index 858490d..5c8c483 100644 --- a/Source/Constraint.swift +++ b/Source/Constraint.swift @@ -27,8 +27,7 @@ import AppKit #endif -@objc(SnapKitConstraint) -public final class Constraint : NSObject { +public final class Constraint { internal let sourceLocation: (String, UInt) internal let label: String? @@ -68,7 +67,6 @@ public final class Constraint : NSObject { self.constant = constant self.priority = priority self.layoutConstraints = [] - super.init() // get attributes let layoutFromAttributes = self.from.attributes.layoutAttributes