ios - duplicate plist in xcode causes all values to be strings? -
ios - duplicate plist in xcode causes all values to be strings? -
i using plists store preset settings ios app. i've created default plist re-create , utilize template of presets. however, when duplicate plist in xcode, of types become strings! ideas why happens or how prepare this?
as example, default.plist looks in xcode
-mono boolean no -name string default -portamento number 0.001
and after duplicate new file:
-mono string no -name string default -portamento string 0.001
thanks!!
//////thanks michael dautermann reply this. when created .plist file in xcode, had appended .plist manually. resulted in file looked great in xcode, wasn't .xml file. result, datatypes not included in source code. so, create .plist file (and don't append .plist) , well.
ios xcode plist
Comments
Post a Comment