title: Is there is a way to create constraint greater than or equal relation through code
body: <p>I'm working on expandable table cell, and my algorithm is follow:</p>
  
  <ol>
  <li>I create two views.</li>
  <li>Create the height constraint of second view, drag it as IBOutlet to my cell.</li>
  <li>When cell is selected change status of selected cell.</li>
  </ol>
  
  <hr>
  
  <pre><code>class ExpandableCell: UITableViewCell {
  
      @IBOutlet weak var expandableCellHeightConstraint: NSLayoutConstraint!
  
      @IBOutlet weak var expandableView: UIView!
  
      var isExpanded:Bool = false
      {
          didSet
          {
              if !isExpanded {
                  self.expandableCellHeightConstraint.constant = 0.0
  
              } else {
                  self.expandableCellHeightConstraint.constant = 120
              }
          }
      }
  }
  </code></pre>
  
  <p>Everything is fine, but I want my second view resize related to inner content. </p>
  
  <p>Here are my constraints:</p>
  
  <p><a href="https://i.stack.imgur.com/axswG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/axswG.png" alt="enter image description here"></a></p>
  
  <p>So, my question is:</p>
  
  <p>What is the best way to write non-strict value to <code>self.expandableCellHeightConstraint.constant</code>? Actually I thought of writing something like <code>self.expandableCellHeightConstraint.constant &gt;= 120</code>, but as far as I get it is impossible.</p>