{ "id": "76816", "key": "TIMOB-4483", "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": "11358", "description": "Mobile 1.8.0 M05", "name": "Sprint 2011-26", "archived": true, "released": true, "releaseDate": "2011-07-04" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-06-30T14:16:51.000+0000", "created": "2011-06-22T13:42:21.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "11367", "description": "", "name": "Release 1.7.1", "archived": true, "released": true, "releaseDate": "2011-06-21" } ], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T21:04:16.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": "Users would like to have an iPad specific resource folder just like the android and iphone folders to store iPad specific resources when creating a universal binary project.", "attachment": [], "flagged": false, "summary": "Add iPad specific resource folder for universal binary support", "creator": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "157735", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "OK'd by Android team. They support android/X subdirectories, where X is a device resolution (and is pre-determined by Google).\r\n\r\nHowever, after a discussion with Don, we should force a new directory structure for platform-specific resources. We cannot have a strictly Resources/ipad directory - then common data between iphone and ipad could not be combined (no clue which from what directory is appropriate) without duplication. Therefore, we should have:\r\n\r\nResources/platform/ios - Common resources for iOS devices\r\nResources/platform/ios/iphone - iPhone/iPod-specific resources\r\nResources/platform/ios/ipad - iPad-specific resources", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-24T10:43:04.000+0000", "updated": "2011-06-24T10:43:04.000+0000" }, { "id": "158327", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "After working on this for a while and trying to interpret this, came up with at least four mutually exclusive interpretations of what needs to be implemented. Need a test case of the file structure expected from the project, and the file structure expected in the built app, AND what js should call to access the various files.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-30T09:55:22.000+0000", "updated": "2011-06-30T09:55:22.000+0000" }, { "id": "158361", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "In talking with Don, it turns out that, beyond the 'android' folder, the naming/folder conventions are done by the OS. However, on iOS, folders are not used to fix namespace conflicts. Instead, the file has a specific naming convention. See http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/LoadingResources/Introduction/Introduction.html#//apple_ref/doc/uid/10000051i-CH1-SW1 and http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/LoadingResources/ImageSoundResources/ImageSoundResources.html#//apple_ref/doc/uid/10000051i-CH7-SW17\r\n\r\nWe honor this for images. That is, in the iPhone folder, you can specify:\r\n* foo.gif will work in all cases, but can be overridden\r\n* foo@2x~iphone.gif will override on retina display ipods and iphones\r\n* foo@2x.gif will also override on retina display ipods and iphones\r\n* foo~iphone.gif will override on any display ipods and iphones\r\n* foo~ipad.gif will override on ipads\r\n\r\nThis is only for graphics, but no folder is necessary for this.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-30T14:14:55.000+0000", "updated": "2011-06-30T14:14:55.000+0000" }, { "id": "158362", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "See comments: In short, there already exists an Apple-provided naming convention to keep images iPad-only or iPhone-only when fetching them at runtime.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-30T14:16:51.000+0000", "updated": "2011-06-30T14:16:51.000+0000" }, { "id": "158387", "author": { "name": "ben.bahrenburg@gmail.com", "key": "ben.bahrenburg@gmail.com", "displayName": "Ben Bahrenburg", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Will the same convention work with js files?", "updateAuthor": { "name": "ben.bahrenburg@gmail.com", "key": "ben.bahrenburg@gmail.com", "displayName": "Ben Bahrenburg", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-30T17:10:17.000+0000", "updated": "2011-06-30T17:10:17.000+0000" }, { "id": "414406", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T21:04:16.000+0000", "updated": "2017-03-21T21:04:16.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }