# \[SOLVED\]Particle.variable or Spark.variable

**URL:** <https://community.particle.io/t/solved-particle-variable-or-spark-variable/25185>\
**Category:** Getting Started\
**Created:** [August 16, 2016, 11:48pm UTC](https://community.particle.io/t/solved-particle-variable-or-spark-variable/25185 "2016-08-16T23:48:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![douglaskbell](https://avatars.discourse-cdn.com/v4/letter/d/85e7bf/32.png) [@douglaskbell](https://community.particle.io/u/douglaskbell)\
**Post date:** [August 16, 2016, 11:48pm UTC](https://community.particle.io/t/solved-particle-variable-or-spark-variable/25185/1 "2016-08-16T23:48:07Z")

</div>

For an ios mobile to read a variable in a Photon, should Photon use Particle.variable or Spark.variable?

My ios mobile app is just modified example app in IOS Cloud SDK.

---

<div class="post-metadata">

**Author:** ![douglaskbell](https://avatars.discourse-cdn.com/v4/letter/d/85e7bf/32.png) [@douglaskbell](https://community.particle.io/u/douglaskbell)\
**Post date:** [August 16, 2016, 11:51pm UTC](https://community.particle.io/t/solved-particle-variable-or-spark-variable/25185/2 "2016-08-16T23:51:54Z")

</div>

Nevermind. Spark.variable is deprecated.
