{ "id": "63142", "key": "TIMOB-2510", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "11361", "description": "Mobile 1.8.0 M08", "name": "Sprint 2011-29", "archived": true, "released": true, "releaseDate": "2011-07-25" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-03T15:56:42.000+0000", "created": "2011-04-15T03:21:35.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-01-03T12:07:02.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}
UIDocumentInteractionController is defined as\r\ncreateDocumentViewer in \r\nhttps://github.com/appcelerator/titanium_mobile/blob/master/iphone/...,\r\nbut is undocumented despite other methods in the same class being\r\ndocumented.
\r\nIt would be awesome if someone could write rudimentary docs for\r\nthis, as for non-objc users figuring out the\r\njs->titanium->objc stuff is kind of hard (I'm trying to\r\nfigure it out from the apple docs @ \r\nhttp://developer.apple.com/library/ios/#documentation/iPhone/Concep...\r\n, but its tricky because I don't do this normally)
I've managed to cobble together a horrible working proof at\nhttp://pastie.org/1352776\nwhich at least confirms that the createDocumentViewer function does\nwork, and can launch things.
\nMore trawling through objc to go, but I think I can get\nsomething working now.
\nI don't know if appcelerator accepts outside doc/code samples,\nbut if I can I'll attach a proper documented example later and see\nif someone wants to import it.