Skip to content

[SR-7262] NSKeyedArchiver needs a top-level method for accepting Encodable things #4036

Open
@swift-ci

Description

@swift-ci
Previous ID SR-7262
Radar rdar://problem/38805415
Original Reporter natebirkholz (JIRA User)
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Bug, Codable
Assignee @itaiferber
Priority Medium

md5: 2dc9f77f973b687d55defbb64ca7c981

Issue 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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions