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?
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? NSAttributedString performance is worse under iOS 8
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.
I appreciate any help.
