Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-322

Support setObject/getObject in Properties API

    Details

      Description

      {html}<div><p>This is a feature request for:</p>
      <pre>
      <code>Titanium.App.Properties.setObject(obj)
      Titanium.App.Properties.getObject(obj)</code>
      </pre>
      <p>At present, if we want to store a non-array object (such as a
      hash map) we have to create an array containing a single element
      which holds the object, and then use setList and getList.</p>
      <p>This is a bit messy and it would be much easier if we could
      simply store the object directly.</p>
      <p>Thanks</p>
      <p><strong>Edit:</strong> Someone has already tried to write their
      own custom methods <a href=
      "http://support.appcelerator.net/discussions/support/399-adding-an-object-to-appproperties">
      here</a>.</p></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              dtoth Dawson Toth
              Reporter:
              jamesk James K
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code