Reverse Objective-Cifying of Constraint

This commit is contained in:
Robert Payne 2016-11-24 17:21:04 +13:00
parent 6d7ba2bd91
commit 98e613686f
1 changed files with 1 additions and 3 deletions

View File

@ -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