Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parity: NSCoding: NSOrderedSet #2232

Merged
merged 1 commit into from May 13, 2019
Merged

Parity: NSCoding: NSOrderedSet #2232

merged 1 commit into from May 13, 2019

Conversation

millenomi
Copy link
Contributor

  • NSOrderedSet uses a subset of the way NSSet encodes things; encode using the existing methods.

  • We’re using convenience initializers to mimic “/* not inherited */“ factory initializers from ObjC. Just like those initializers, they aren’t actually inherited. We need to replicate all the convenience initializers of NSOrderedSet in NSMutableOrderedSet for source compatibility, and we do so here.

@millenomi
Copy link
Contributor Author

@swift-ci please test

@millenomi
Copy link
Contributor Author

- NSOrderedSet uses a subset of the way NSSet encodes things; encode using the existing methods.

- We’re using convenience initializers to mimic “/* not inherited */“ factory initializers from ObjC. Just like those initializers, they aren’t actually inherited. We need to replicate all the convenience initializers of NSOrderedSet in NSMutableOrderedSet for source compatibility, and we do so here.
@millenomi
Copy link
Contributor Author

@swift-ci please test and merge

1 similar comment
@millenomi
Copy link
Contributor Author

@swift-ci please test and merge

@swift-ci swift-ci merged commit 4c0fef0 into apple:master May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants