Add more deep compares when setting public properties to the same value

This commit is contained in:
Adlai Holler
2015-10-05 23:48:48 -07:00
parent 2e5da5599d
commit 87caed27e2
3 changed files with 6 additions and 5 deletions

View File

@@ -217,7 +217,7 @@
- (void)setTypingAttributes:(NSDictionary *)typingAttributes
{
if (_typingAttributes == typingAttributes)
if (ASObjectIsEqual(typingAttributes, _typingAttributes))
return;
_typingAttributes = [typingAttributes copy];