objective c - Not Making a Mutable Copy for NSUserDefaults -
instead of making mutable copy nsuserdefaults, use setobject: forkey: make updates, pointing constructed objects derived in various places in ui. there pitfalls doing way? particularly, want make sure i'm not adding new objects in fact replacing existing objects.
tia
there shouldn't problems doing things way.
i'm not sure why have doubts, long use same key setobject:forkey of course update same object instead of adding new ones. avoid adding new object, use static nsstring key.
Comments
Post a Comment