-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Parity: NSCoding: NSIndexSet #2216
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
Conversation
- Bridge NSData fully to CF. Work around the fact that NSData has a mutable subclass. - Implement NS{Mutable,}IndexSet encoding and decoding.
@swift-ci please test |
1 similar comment
@swift-ci please test |
This needs to be written down somewhere, and here is a good spot to do it at a minimum. On Darwin, You may notice that your closest In swift-corelibs-foundation, we have a single concrete implementation of This patch matches the Darwin behavior. We cannot have all-abstract methods in the base class and then the concrete methods in an extension like on Darwin, because the latter methods need to be This patch adds branched default implementations to all the |
tl;dr please do not subclass Foundation model classes unless you have a legitimately well-thought and considered use case for a pressing need. |
@swift-ci please test |
1 similar comment
@swift-ci please test |
The funnels need tests added, but this is blocking at least another patch, and I'd rather do it concurrently. |
Bridge NSData fully to CF. Work around the fact that NSData has a mutable subclass.
Implement NS{Mutable,}IndexSet encoding and decoding.