diff --git a/Snap.podspec b/Snap.podspec index 5965802..653bfa6 100644 --- a/Snap.podspec +++ b/Snap.podspec @@ -1,12 +1,12 @@ Pod::Spec.new do |s| s.name = 'Snap' - s.version = '0.0.3' + s.version = '0.0.4' s.license = 'MIT' s.summary = 'Harness the power of auto layout with a simplified, chainable, and compile time safe syntax.' s.homepage = 'https://github.com/Masonry/Snap' s.authors = { 'Robert Payne' => 'robertpayne@me.com' } s.social_media_url = 'http://twitter.com/robertjpayne' - s.source = { :git => 'https://github.com/Masonry/Snap.git', :tag => '0.0.3' } + s.source = { :git => 'https://github.com/Masonry/Snap.git', :tag => '0.0.4' } s.ios.deployment_target = '8.0' s.osx.deployment_target = '10.9' diff --git a/Snap/Constraint.swift b/Snap/Constraint.swift index b8f09ed..68f6d00 100644 --- a/Snap/Constraint.swift +++ b/Snap/Constraint.swift @@ -388,8 +388,7 @@ public class Constraint { // add constraints installOnView!.addConstraints(layoutConstraints) - installOnView!.snp_installedLayoutConstraints = layoutConstraints - + self.installedOnView = installOnView return layoutConstraints }