pdcgomes / XCActionBar

"Alfred for Xcode" plugin
MIT License
1.21k stars 36 forks source link

Fix non-copy attribute for NSCopying types that have a mutable subclass #16

Closed daniel-beard closed 1 month ago

daniel-beard commented 9 years ago

NSCopying class types that also have a mutable subclass variant (for example NSString, NSArray) should always be specified as copy.

This helps avoid situations where the value of a property could change without the setter being invoked (i.e. the object gets mutated).