{ "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.

{html}", "attachment": [], "flagged": false, "summary": "iOS: className and classNames unsupported", "creator": { "name": "kevinwhinnery", "key": "kevinwhinnery", "displayName": "kevinwhinnery", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kwhinnery", "key": "kwhinnery", "displayName": "Kevin Whinnery", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "128975", "author": { "name": "rpfeiffer", "key": "rpfeiffer", "displayName": "Ralf Pfeiffer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Assigning to Steve to start looking at this or alternately\ndiscuss and delegate the R&D to Blain.

{html}", "updateAuthor": { "name": "rpfeiffer", "key": "rpfeiffer", "displayName": "Ralf Pfeiffer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:24:44.000+0000", "updated": "2011-04-15T03:24:44.000+0000" }, { "id": "128976", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:24:44.000+0000", "updated": "2011-04-15T03:24:44.000+0000" }, { "id": "128977", "author": { "name": "kevinwhinnery", "key": "kevinwhinnery", "displayName": "kevinwhinnery", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

From Marshall, who implemented this for Android:

\n\n
\nvar view = Ti.UI.createView({\n  className: \"myClass\",\n  classNames: [\"myClass1\", \"myClass2\"]\n});\n
\n\n
\nview.addClass(\"myClass1\" [, \"myClass2\"..]);\n
\n

To 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

{html}", "updateAuthor": { "name": "kevinwhinnery", "key": "kevinwhinnery", "displayName": "kevinwhinnery", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:24:45.000+0000", "updated": "2011-04-15T03:24:45.000+0000" }, { "id": "128978", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(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...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:24:45.000+0000", "updated": "2011-04-15T03:24:45.000+0000" }, { "id": "128979", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

To test this bug:

\n
{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:24:45.000+0000", "updated": "2011-04-15T03:24:45.000+0000" }, { "id": "128980", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

[INFO] Titanium SDK version: 1.6.0 (02/02/11\n07:59 a632082) emulator 4.2 and ipod touch 4GT

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:24:46.000+0000", "updated": "2011-04-15T03:24:46.000+0000" }, { "id": "130784", "author": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "body": "rollback wrong update", "updateAuthor": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "created": "2011-04-15T07:22:45.000+0000", "updated": "2011-04-15T07:22:45.000+0000" }, { "id": "211411", "author": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "it seems className parameter is unsupported again on iOS6... getting a lot of problems...", "updateAuthor": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2012-08-03T11:18:25.000+0000", "updated": "2012-08-03T11:18:25.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }