Sha256: 8c4f1a5d9ab17757bd3a4e9d00f7ce51513ba3ecccb8a8e1eb4f9d1a5c104561
Contents?: true
Size: 691 Bytes
Versions: 3
Compression:
Stored size: 691 Bytes
Contents
# @requires MotionKit::UIViewLayout module MotionKit class UIViewLayout 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
3 entries across 3 versions & 1 rubygems