From 62b058de00b199d813a25b232c0f8231f1114df8 Mon Sep 17 00:00:00 2001 From: Robert Payne Date: Thu, 21 May 2015 22:05:38 +1200 Subject: [PATCH] Remove unecessary API prefixes --- Source/ConstraintMaker.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/ConstraintMaker.swift b/Source/ConstraintMaker.swift index ca2d84c..746c49f 100644 --- a/Source/ConstraintMaker.swift +++ b/Source/ConstraintMaker.swift @@ -93,6 +93,7 @@ public class ConstraintMaker { /// centerY within margins public var centerYWithinMargins: ConstraintDescriptionExtendable { return self.makeConstraintDescription(ConstraintAttributes.CenterYWithinMargins) } + #endif /// top + left + bottom + right edges @@ -107,10 +108,10 @@ public class ConstraintMaker { #if os(iOS) // top + left + bottom + right margins - public var snp_margins: ConstraintDescriptionExtendable { return self.makeConstraintDescription(ConstraintAttributes.Margins) } + public var margins: ConstraintDescriptionExtendable { return self.makeConstraintDescription(ConstraintAttributes.Margins) } // centerX + centerY within margins - public var snp_centerWithinMargins: ConstraintDescriptionExtendable { return self.makeConstraintDescription(ConstraintAttributes.CenterWithinMargins) } + public var centerWithinMargins: ConstraintDescriptionExtendable { return self.makeConstraintDescription(ConstraintAttributes.CenterWithinMargins) } #endif