{ "id": "117305", "key": "TIMOB-14586", "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": "15695", "description": "2013 Sprint 20", "name": "2013 Sprint 20", "archived": true, "released": true, "releaseDate": "2013-10-04" }, { "id": "15696", "description": "2013 Sprint 20 API", "name": "2013 Sprint 20 API", "archived": true, "released": true, "releaseDate": "2013-10-04" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-09-30T16:40:19.000+0000", "created": "2013-07-17T19:33:23.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios7", "module_label", "planning-3.2.0", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-06-12T15:55:15.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": "Text Kit is a full-featured, high-level framework for apps that need to handle text that has all the characteristics of fine typography. This ticket is for supporting just the \"dynamic type\" aspect, some of which is discussed ehre:\r\n\r\nhttp://typographica.org/on-typography/beyond-helvetica-the-real-story-behind-fonts-in-ios-7/", "attachment": [], "flagged": false, "summary": "iOS7: Support textStyles introduced in iOS7", "creator": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "272889", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Test Case\n{code}\nfunction isiOS7Plus()\n{\n // add iphone specific tests\n if (Titanium.Platform.name == 'iPhone OS')\n {\n var version = Titanium.Platform.version.split(\".\");\n var major = parseInt(version[0],10);\n \n // can only test this support on a 3.2+ device\n if (major >= 7)\n {\n return true;\n }\n }\n return false;\n\n}\n\n\nvar win1 = Ti.UI.createWindow({\n backgroundColor:'white',\n layout:'vertical'\n});\n \nfunction makeLabel(labelText, labelFont) \n{\n return Titanium.UI.createLabel({\n top: 20,\n text:labelText,\n font:labelFont,\n width:'auto',\n height:'auto'\n });\n}\n \nif (isiOS7Plus()) \n{\n win1.add(makeLabel('Text Style Headline', {textStyle:Ti.UI.TEXT_STYLE_HEADLINE}));\n win1.add(makeLabel('Text Style SubHeadLine', {textStyle:Ti.UI.TEXT_STYLE_SUBHEADLINE}));\n win1.add(makeLabel('Text Style Body', {textStyle:Ti.UI.TEXT_STYLE_BODY}));\n win1.add(makeLabel('Text Style Footnote', {textStyle:Ti.UI.TEXT_STYLE_FOOTNOTE}));\n win1.add(makeLabel('Text Style Caption 1', {textStyle:Ti.UI.TEXT_STYLE_CAPTION1}));\n win1.add(makeLabel('Text Style Caption 2', {textStyle:Ti.UI.TEXT_STYLE_CAPTION2}));\n} \nelse \n{\n win1.add(makeLabel('TextStyle is only suppported on iOS 7 and above', {fontWeight:'bold', fontSize:20}));\n}\n \nwin1.open();\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-25T21:47:24.000+0000", "updated": "2013-09-25T21:47:24.000+0000" }, { "id": "272896", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending against master\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4736", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-25T22:26:26.000+0000", "updated": "2013-09-25T22:26:26.000+0000" }, { "id": "274573", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Verified fixed on:\r\nDevice : iPhone 5 , iOS version : 7.0\r\nSDK: 3.2.0.v20131008154043\r\nCLI version : 3.2.0\r\nOS : MAC OSX 10.8.4\r\nAlloy : 1.2.2\r\nAppcelerator Studio, build: 3.2.0.201310092427\r\nXCode : 5", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-10-10T10:12:01.000+0000", "updated": "2013-10-10T10:12:01.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }