@@ -14,7 +14,7 @@ public class NSAttributedString : NSObject, NSCopying, NSMutableCopying, NSSecur
14
14
NSUnimplemented ( )
15
15
}
16
16
17
- public func encodeWithCoder( aCoder: NSCoder ) {
17
+ public func encodeWithCoder( _ aCoder: NSCoder ) {
18
18
NSUnimplemented ( )
19
19
}
20
20
@@ -26,36 +26,36 @@ public class NSAttributedString : NSObject, NSCopying, NSMutableCopying, NSSecur
26
26
return copyWithZone ( nil )
27
27
}
28
28
29
- public func copyWithZone( zone: NSZone ) -> AnyObject {
29
+ public func copyWithZone( _ zone: NSZone ) -> AnyObject {
30
30
NSUnimplemented ( )
31
31
}
32
32
33
33
public override func mutableCopy( ) -> AnyObject {
34
34
return mutableCopyWithZone ( nil )
35
35
}
36
36
37
- public func mutableCopyWithZone( zone: NSZone ) -> AnyObject {
37
+ public func mutableCopyWithZone( _ zone: NSZone ) -> AnyObject {
38
38
NSUnimplemented ( )
39
39
}
40
40
41
41
public var string : String { NSUnimplemented ( ) }
42
- public func attributesAtIndex( location: Int , effectiveRange range: NSRangePointer ) -> [ String : AnyObject ] { NSUnimplemented ( ) }
42
+ public func attributesAtIndex( _ location: Int , effectiveRange range: NSRangePointer ) -> [ String : AnyObject ] { NSUnimplemented ( ) }
43
43
44
44
public var length : Int { NSUnimplemented ( ) }
45
- public func attribute( attrName: String , atIndex location: Int , effectiveRange range: NSRangePointer ) -> AnyObject ? { NSUnimplemented ( ) }
46
- public func attributedSubstringFromRange( range: NSRange ) -> NSAttributedString { NSUnimplemented ( ) }
45
+ public func attribute( _ attrName: String , atIndex location: Int , effectiveRange range: NSRangePointer ) -> AnyObject ? { NSUnimplemented ( ) }
46
+ public func attributedSubstringFromRange( _ range: NSRange ) -> NSAttributedString { NSUnimplemented ( ) }
47
47
48
- public func attributesAtIndex( location: Int , longestEffectiveRange range: NSRangePointer , inRange rangeLimit: NSRange ) -> [ String : AnyObject ] { NSUnimplemented ( ) }
49
- public func attribute( attrName: String , atIndex location: Int , longestEffectiveRange range: NSRangePointer , inRange rangeLimit: NSRange ) -> AnyObject ? { NSUnimplemented ( ) }
48
+ public func attributesAtIndex( _ location: Int , longestEffectiveRange range: NSRangePointer , inRange rangeLimit: NSRange ) -> [ String : AnyObject ] { NSUnimplemented ( ) }
49
+ public func attribute( _ attrName: String , atIndex location: Int , longestEffectiveRange range: NSRangePointer , inRange rangeLimit: NSRange ) -> AnyObject ? { NSUnimplemented ( ) }
50
50
51
- public func isEqualToAttributedString( other: NSAttributedString ) -> Bool { NSUnimplemented ( ) }
51
+ public func isEqualToAttributedString( _ other: NSAttributedString ) -> Bool { NSUnimplemented ( ) }
52
52
53
53
public init ( string str: String ) { NSUnimplemented ( ) }
54
54
public init ( string str: String , attributes attrs: [ String : AnyObject ] ? ) { NSUnimplemented ( ) }
55
55
public init ( attributedString attrStr: NSAttributedString ) { NSUnimplemented ( ) }
56
56
57
- public func enumerateAttributesInRange( enumerationRange: NSRange , options opts: NSAttributedStringEnumerationOptions , usingBlock block: ( [ String : AnyObject ] , NSRange , UnsafeMutablePointer < ObjCBool > ) -> Void ) { NSUnimplemented ( ) }
58
- public func enumerateAttribute( attrName: String , inRange enumerationRange: NSRange , options opts: NSAttributedStringEnumerationOptions , usingBlock block: ( AnyObject ? , NSRange , UnsafeMutablePointer < ObjCBool > ) -> Void ) { NSUnimplemented ( ) }
57
+ public func enumerateAttributesInRange( _ enumerationRange: NSRange , options opts: NSAttributedStringEnumerationOptions , usingBlock block: ( [ String : AnyObject ] , NSRange , UnsafeMutablePointer < ObjCBool > ) -> Void ) { NSUnimplemented ( ) }
58
+ public func enumerateAttribute( _ attrName: String , inRange enumerationRange: NSRange , options opts: NSAttributedStringEnumerationOptions , usingBlock block: ( AnyObject ? , NSRange , UnsafeMutablePointer < ObjCBool > ) -> Void ) { NSUnimplemented ( ) }
59
59
}
60
60
61
61
public struct NSAttributedStringEnumerationOptions : OptionSet {
@@ -69,21 +69,21 @@ public struct NSAttributedStringEnumerationOptions : OptionSet {
69
69
70
70
public class NSMutableAttributedString : NSAttributedString {
71
71
72
- public func replaceCharactersInRange( range: NSRange , withString str: String ) { NSUnimplemented ( ) }
73
- public func setAttributes( attrs: [ String : AnyObject ] ? , range: NSRange ) { NSUnimplemented ( ) }
72
+ public func replaceCharactersInRange( _ range: NSRange , withString str: String ) { NSUnimplemented ( ) }
73
+ public func setAttributes( _ attrs: [ String : AnyObject ] ? , range: NSRange ) { NSUnimplemented ( ) }
74
74
75
75
76
76
public var mutableString : NSMutableString { NSUnimplemented ( ) }
77
77
78
- public func addAttribute( name: String , value: AnyObject , range: NSRange ) { NSUnimplemented ( ) }
79
- public func addAttributes( attrs: [ String : AnyObject ] , range: NSRange ) { NSUnimplemented ( ) }
80
- public func removeAttribute( name: String , range: NSRange ) { NSUnimplemented ( ) }
78
+ public func addAttribute( _ name: String , value: AnyObject , range: NSRange ) { NSUnimplemented ( ) }
79
+ public func addAttributes( _ attrs: [ String : AnyObject ] , range: NSRange ) { NSUnimplemented ( ) }
80
+ public func removeAttribute( _ name: String , range: NSRange ) { NSUnimplemented ( ) }
81
81
82
- public func replaceCharactersInRange( range: NSRange , withAttributedString attrString: NSAttributedString ) { NSUnimplemented ( ) }
83
- public func insertAttributedString( attrString: NSAttributedString , atIndex loc: Int ) { NSUnimplemented ( ) }
84
- public func appendAttributedString( attrString: NSAttributedString ) { NSUnimplemented ( ) }
85
- public func deleteCharactersInRange( range: NSRange ) { NSUnimplemented ( ) }
86
- public func setAttributedString( attrString: NSAttributedString ) { NSUnimplemented ( ) }
82
+ public func replaceCharactersInRange( _ range: NSRange , withAttributedString attrString: NSAttributedString ) { NSUnimplemented ( ) }
83
+ public func insertAttributedString( _ attrString: NSAttributedString , atIndex loc: Int ) { NSUnimplemented ( ) }
84
+ public func appendAttributedString( _ attrString: NSAttributedString ) { NSUnimplemented ( ) }
85
+ public func deleteCharactersInRange( _ range: NSRange ) { NSUnimplemented ( ) }
86
+ public func setAttributedString( _ attrString: NSAttributedString ) { NSUnimplemented ( ) }
87
87
88
88
public func beginEditing( ) { NSUnimplemented ( ) }
89
89
public func endEditing( ) { NSUnimplemented ( ) }
0 commit comments