{ "id": "161389", "key": "TIMOB-23566", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-06-28T16:06:26.000+0000", "created": "2016-06-27T21:18:18.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios", "tintColor" ], "versions": [], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-09-15T07:14:55.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": "iOS offers a way to set a global {{tintColor}} to be inherited to all child-views. It's a very common concept to ease the branding of the UI and should be used in Titanium as well.\r\n\r\nProposed namespace: {{Ti.UI.tintColor}} - Setter: {{Ti.UI.setTintColor}}", "attachment": [], "flagged": false, "summary": "iOS: Support global tintColor", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 649, "state": "closed", "name": "2016 Sprint 13 SDK", "startDate": "2016-06-18T00:25:17.303Z", "endDate": "2016-07-02T00:25:00.000Z", "completeDate": "2016-07-04T04:25:16.889Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "389178", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/8089", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-06-27T21:33:37.000+0000", "updated": "2016-06-27T21:33:37.000+0000" }, { "id": "389179", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Demo:\r\n{code:javascript}\r\n\r\n// Set a global tintColor once\r\nTi.UI.setTintColor(\"#f00\");\r\n\r\nvar win = Ti.UI.createWindow({backgroundColor : \"#fff\", title: \"First Window\"}); \r\nvar nav = Ti.UI.iOS.createNavigationWindow({window: win});\r\n\r\nvar btn = Ti.UI.createButton({\r\n title : \"Open Sub-Window (button should be red)\"\r\n});\r\n\r\nbtn.addEventListener(\"click\", function() {\r\n var win2 = Ti.UI.createWindow({backgroundColor : \"#fff\", title: \"Sub Window\"}); \r\n var btn2 = Ti.UI.createButton({title: \"Close Sub-Window (button should be green)\", tintColor: \"green\"});\r\n \r\n btn2.addEventListener(\"click\", function() {\r\n nav.closeWindow(win2);\r\n });\r\n \r\n win2.add(btn2);\r\n nav.openWindow(win2);\r\n});\r\n\r\nwin.add(btn);\r\nnav.open();\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-06-27T21:40:32.000+0000", "updated": "2016-06-27T21:41:05.000+0000" }, { "id": "396190", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed,\r\n\r\nTested On:\r\niPhone 6 Plus 10.0.1 Device & Simulator\r\niPhone 5S 9.3.5 Device\r\nMac OSX El Capitan 10.11.6\r\nTi SDK: 6.0.0.v20160914165725\r\n Appc Studio: 4.8.0.201609101003\r\nAppc NPM: 4.2.8-6\t\r\nApp CLI: 6.0.0-42\t\r\nXcode 8.0 \r\nNode v4.4.7\r\n\r\n*Closing ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-09-15T07:13:31.000+0000", "updated": "2016-09-15T07:14:27.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }