Skip to content

Commit 16642ca

Browse files
committed
Parity: NSCoding stragglers: NSMutableCharacterSet
It is safe for this class to inherit decoding from its superclass.
1 parent d99abed commit 16642ca

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Foundation/NSCharacterSet.swift

-4
Original file line numberDiff line numberDiff line change
@@ -403,10 +403,6 @@ open class NSCharacterSet : NSObject, NSCopying, NSMutableCopying, NSSecureCodin
403403
}
404404

405405
open class NSMutableCharacterSet : NSCharacterSet {
406-
407-
public convenience required init(coder aDecoder: NSCoder) {
408-
NSUnimplemented()
409-
}
410406

411407
open func addCharacters(in aRange: NSRange) {
412408
CFCharacterSetAddCharactersInRange(_cfMutableObject , CFRangeMake(aRange.location, aRange.length))

0 commit comments

Comments
 (0)