Sha256: 64f92cf5a68d31928a8927c5370f36482ae98c2f29966b3a117d2ef07f75dd51
Contents?: true
Size: 693 Bytes
Versions: 21
Compression:
Stored size: 693 Bytes
Contents
# @requires MotionKit::UIViewHelpers module MotionKit class UIViewHelpers def content_compression_resistance_priority(value, for_axis: axis) axis = Constraint.axis_lookup(axis) target.setContentCompressionResistancePriority(value, forAxis: axis) end def compression_priority(value, for_axis: axis) content_compression_resistance_priority(value, for_axis: axis) end def content_hugging_priority(value, for_axis: axis) axis = Constraint.axis_lookup(axis) target.setContentHuggingPriority(value, forAxis: axis) end def hugging_priority(value, for_axis: axis) content_hugging_priority(value, for_axis: axis) end end end
Version data entries
21 entries across 15 versions & 1 rubygems
Version | Path |
---|---|
motion-kit-0.12.0 | lib/motion-kit-ios/layouts/constraints_helpers.rb |