title: Can't programmatically change color set in storyboard as color from xcassets catalog
body: <p>When I set color of some property in Storyboard (for example <code>textColor</code> of my <code>UILabel</code>) as color created as New Color Set in xcassets catalog</p>
  
  <p><a href="https://i.stack.imgur.com/7oDAx.png" rel="noreferrer"><img src="https://i.stack.imgur.com/7oDAx.png" alt="enter image description here"></a></p>
  
  <p>then I can't programmatically change this color on the first attempt:</p>
  
  <pre><code>label.textColor = UIColor(named: "HighlightedGreen")
  </code></pre>
  
  <p>... note that I'm calling it from data source method <code>cellForItemAt</code>.</p>
  
  <p><strong>Hack:</strong>
  I can solve it by setting this color in Storyboard for any other color picked from color picker but I want to know why is this happening.</p>
  
  <p>So, why is this happening?</p>