Uploaded image for project: 'Swift'
  1. Swift
  2. SR-7262

NSKeyedArchiver needs a top-level method for accepting Encodable things

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: Foundation
    • Labels:

      Description

      NSKeyedArchiver supports Encodable objects via the encodeEncodable method; Swift needs a similar top-level method for accepting Encodable things. See linked gist for example: https://gist.github.com/natebirkholz/303fac55ca138afad99ee91c7b22544f

       

      This bug was requested by Itai Ferber via Twitter.

        Attachments

          Activity

            People

            • Assignee:
              itaiferber Itai Ferber
              Reporter:
              natebirkholz Nate Birkholz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: