{ "id": "63243", "key": "TIMOB-2611", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11239", "name": "Release 1.6.0 M06", "archived": true, "released": true, "releaseDate": "2011-01-24" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:59:36.000+0000", "created": "2011-04-15T03:24:44.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "feature", "ios", "iphone", "release-1.6.0", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-08-03T11:18:25.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
iOS lacks the className
and classNames
\noptions available on Android for JSS. Because of this, I would\nassume iOS also lacks the addClass
function available\non Android for JSS classes as well, which is also a very important\nfeature.
Assigning to Steve to start looking at this or alternately\ndiscuss and delegate the R&D to Blain.
Need a description of what these features are and how they work\nin Android because all that comes up on google is refs to\nTitanium.
From Marshall, who implemented this for Android:
\n\nvar view = Ti.UI.createView({\n className: \"myClass\",\n classNames: [\"myClass1\", \"myClass2\"]\n});
\n
\n\nview.addClass(\"myClass1\" [, \"myClass2\"..]);
\n
\nTo get started, you basically just need to create a \".jss\" file\nthat matches the js file you need styles for. For example, to use\nstyles in app.js, you'd create a file called app.jss. To support\nmedium density specific styles, create \"...jss\", in other words:\napp.android.medium.jss or app.android.high.jss
(from [af9e7fbbb60e9fcce19dea99b3707be199499e18])\n[#2611 state:fixed-in-qa] Changes to recognize\nclassName on iOS. Special thanks to Marshall for doing almost all\nthe work for me. \nhttps://github.com/appcelerator/titanium_mobile/commit/af9e7fbbb60e...
To test this bug:
\n[INFO] Titanium SDK version: 1.6.0 (02/02/11\n07:59 a632082) emulator 4.2 and ipod touch 4GT