I'm changing an existing project to AsyncDisplayKit/Texture
. I just got to the last part of my new ASTableNode
, where I've encountered a bug. In my ASTableNode
, there's a ASTextNode
. Now after I receive a notification I try to change the AttributedText
of said ASTextNode
, but when I do this, it makes the parent node flash. (See GIF here:)
Is there an explanation for this? The AttributedText
is changed like this:
self.likes.countLabel.attributedString = NSMutableAttributedString(string: "\(newCount)", attributes: self.likes.font)
Is this perhaps a threading issue, or has anyone else faced a bug like this before?
Thanks.