Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-23857

iOS: Expose more Pasteboard Item's APIs

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Release 5.5.0
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:

      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

      Previously we mainly supported Pasteboards with single items. Many of these APIs would add support for using multiple Pasteboard items.

      Proposed APIs to expose:
      var types: [String] - added in iOS 10
      func contains(pasteboardTypes: [String])
      func value(forPasteboardType: String)
      func setValue(Any, forPasteboardType: String)
      var numberOfItems: Int
      func contains(pasteboardTypes: [String], inItemSet: IndexSet?)
      func data(forPasteboardType: String, inItemSet: IndexSet?)
      func values(forPasteboardType: String, inItemSet: IndexSet?)
      func addItems([[String : Any]])

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ewieber Eric Wieber (Inactive)
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration