Assigning NSAttributedString to UILabel is slow?
<p>I have been trying to troubleshoot glitchy table view scrolling performance. Running it through Instrument's Time Profiler shows that decent amount of time is spent setting NSAttributedString to UILabel. Is this a known problem? If so, is there a work around? </p>

<p>I see some reports that creation of NSAttributedString got really slow on iOS8 and improved a bit on iOS9, but is it also slow setting it to a containing UI element? <a href="https://stackoverflow.com/questions/26281543/nsattributedstring-performance-is-worse-under-ios-8">NSAttributedString performance is worse under iOS 8</a></p>

<p>Below is the screen shot from my profiling. Note that view model doesn't dynamically create attributed strings, so the cost you see is purely from assignment. Of course, UILabel can be performing expensive operations, which I don't know how to get around.</p>

<p><a href="https://i.stack.imgur.com/UXie2.png" rel="noreferrer"><img src="https://i.stack.imgur.com/UXie2.png" alt="enter image description here"></a></p>

<p>I appreciate any help. </p>