lib/motion-kit-cocoa/constraints/constraint.rb in motion-kit-0.10.1 vs lib/motion-kit-cocoa/constraints/constraint.rb in motion-kit-0.10.2

- old
+ new

@@ -10,14 +10,14 @@ attr_accessor :target attr_accessor :attribute attr_accessor :relationship attr_accessor :relative_to attr_accessor :attribute2 - attr_accessor :multiplier - attr_accessor :constant - attr_accessor :priority - attr_accessor :identifier + attr_reader :multiplier + attr_reader :constant + attr_writer :priority + attr_writer :identifier Priorities = { required: 1000, # NSLayoutPriorityRequired high: 750, # NSLayoutPriorityDefaultHigh medium: 500, @@ -237,10 +237,9 @@ @identifier = identifier self end alias identified_by identifier - alias id identifier def update_constraint if @resolved constraint = @resolved[0]