{ "id": "162953", "key": "TIMOB-23857", "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": [], "resolution": null, "resolutiondate": null, "created": "2016-09-01T17:28:03.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-5.5.0" ], "versions": [ { "id": "18253", "name": "Release 5.5.0", "archived": false, "released": true, "releaseDate": "2016-09-13" } ], "issuelinks": [ { "id": "52596", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "161074", "key": "TIMOB-23519", "fields": { "summary": "iOS10: Expose new Ti.UI.Pasteboard APIs", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "52595", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "162720", "key": "TIMOB-23797", "fields": { "summary": "iOS: Improve Pasteboard support", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T19:55:29.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "With the expansion of Pasteboard support in iOS 10, it would be helpful to have more of the APIs for Pasteboard manipulation exposed. Ideally, we would support all listed in https://developer.apple.com/reference/uikit/uipasteboard\r\n\r\nPreviously we mainly supported Pasteboards with single items. Many of these APIs would add support for using multiple Pasteboard items.\r\n\r\nProposed APIs to expose:\r\n{{var *types*: \\[String\\]}} - added in iOS 10\r\n{{func *contains*(pasteboardTypes: \\[String\\])}}\r\n{{func *value*(forPasteboardType: String)}}\r\n{{func *setValue*(Any, forPasteboardType: String)}}\r\n{{var *numberOfItems*: Int}}\r\n{{func *contains*(pasteboardTypes: \\[String\\], inItemSet: IndexSet?)}}\r\n{{func *data*(forPasteboardType: String, inItemSet: IndexSet?)}}\r\n{{func *values*(forPasteboardType: String, inItemSet: IndexSet?)}}\r\n{{func *addItems*(\\[\\[String : Any\\]\\])}}", "attachment": [], "flagged": false, "summary": "iOS: Expose more Pasteboard Item's APIs", "creator": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }