diff options
Diffstat (limited to 'macosx/HBCodingUtilities.m')
-rw-r--r-- | macosx/HBCodingUtilities.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBCodingUtilities.m b/macosx/HBCodingUtilities.m index b6b97dce6..a87ad3f7a 100644 --- a/macosx/HBCodingUtilities.m +++ b/macosx/HBCodingUtilities.m @@ -18,7 +18,7 @@ static BOOL useSecureCoding; if (!initialized && self == [HBCodingUtilities class]) { - useSecureCoding = NSProtocolFromString(@"NSSecureCoding") ? YES : NO; + useSecureCoding = [NSCoder instancesRespondToSelector:@selector(decodeObjectOfClass:forKey:)] ? YES : NO; } } |