- changed title to OldVerboseObjCSyntax mutable collection classes
-
assigned issue to
OldVerboseObjCSyntax mutable collection classes
Issue #8
closed
+[NSMutableDictionary dictionaryWithObjectsAndKeys:] is treated as though it were +[NSDictionary dictionaryWithObjectsAndKeys:]. The former has no "modern" syntax, and it's not obvious that using modern syntax to create an immutable dictionary and making a mutable copy is a better solution than simply using the old syntax.
Comments (3)
-
repo owner -
repo owner - changed status to resolved
Fixed for the next release. The default behavior will be to match the behavior of the related refactoring feature in Xcode, and an option has been added to expect literal initialization syntax also for mutable arrays and dictionaries.
-
repo owner - changed status to closed
Released in v0.9.7
- Log in to comment
This issue applies to all init and factory method usage for
NSMutableArray
andNSMutableDictionary
, thus the issue title change.