Quantcast
Channel: Questions in topic: "post processing"
Viewing all articles
Browse latest Browse all 713

How can we check if PlistElementArray contains a certain string value?

$
0
0
I am doing some plist post processing in Unity for Xcode and I want to avoid adding duplicate elements to a PlistElementArray. Contains and IndexOf do not work since they require a PlistElement. I also tried if (elementArray["blah"] == null) { elementArray.addString("blah") } But got: Error building Player: InvalidCastException: Cannot cast from source type to destination type.

Viewing all articles
Browse latest Browse all 713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>