@@ -134,7 +134,7 @@ extension String {
134
134
// + (const NSStringEncoding *)availableStringEncodings
135
135
136
136
/// Returns an Array of the encodings string objects support
137
- /// in the application’ s environment.
137
+ /// in the application' s environment.
138
138
@warn_unused_result
139
139
public static func availableStringEncodings( ) -> [ NSStringEncoding ] {
140
140
var result = [ NSStringEncoding] ( )
@@ -302,7 +302,7 @@ extension String {
302
302
303
303
/// Returns a string containing characters the `String` and a
304
304
/// given string have in common, starting from the beginning of each
305
- /// up to the first characters that aren’ t equivalent.
305
+ /// up to the first characters that aren' t equivalent.
306
306
@warn_unused_result
307
307
public func commonPrefixWithString(
308
308
aString: String , options: NSStringCompareOptions ) -> String {
@@ -452,15 +452,15 @@ extension String {
452
452
453
453
// @property NSString* decomposedStringWithCanonicalMapping;
454
454
455
- /// Returns a string made by normalizing the `String`’ s
455
+ /// Returns a string made by normalizing the `String`' s
456
456
/// contents using Form D.
457
457
public var decomposedStringWithCanonicalMapping : String {
458
458
return _ns. decomposedStringWithCanonicalMapping
459
459
}
460
460
461
461
// @property NSString* decomposedStringWithCompatibilityMapping;
462
462
463
- /// Returns a string made by normalizing the `String`’ s
463
+ /// Returns a string made by normalizing the `String`' s
464
464
/// contents using Form KD.
465
465
public var decomposedStringWithCompatibilityMapping : String {
466
466
return _ns. decomposedStringWithCompatibilityMapping
@@ -605,7 +605,7 @@ extension String {
605
605
/// - Parameter encoding: The encoding to use for the returned bytes.
606
606
///
607
607
/// - Parameter options: A mask to specify options to use for
608
- /// converting the receiver’ s contents to `encoding` (if conversion
608
+ /// converting the receiver' s contents to `encoding` (if conversion
609
609
/// is necessary).
610
610
///
611
611
/// - Parameter range: The range of characters in the receiver to get.
@@ -645,7 +645,7 @@ extension String {
645
645
// maxLength:(NSUInteger)maxBufferCount
646
646
// encoding:(NSStringEncoding)encoding
647
647
648
- /// Converts the `String`’ s content to a given encoding and
648
+ /// Converts the `String`' s content to a given encoding and
649
649
/// stores them in a buffer.
650
650
/// - Note: will store a maximum of `min(buffer.count, maxLength)` bytes.
651
651
public func getCString(
@@ -923,7 +923,7 @@ extension String {
923
923
924
924
/// Returns a `String` object initialized by using a given
925
925
/// format string as a template into which the remaining argument
926
- /// values are substituted according to the user’ s default locale.
926
+ /// values are substituted according to the user' s default locale.
927
927
public init ( format: String , arguments: [ CVarArgType ] ) {
928
928
self = String ( format: format, locale: nil , arguments: arguments)
929
929
}
@@ -1120,23 +1120,23 @@ extension String {
1120
1120
// @property NSString* pathExtension;
1121
1121
1122
1122
/// Interprets the `String` as a path and returns the
1123
- /// `String`’ s extension, if any.
1123
+ /// `String`' s extension, if any.
1124
1124
@available ( * , unavailable, message= " Use pathExtension on NSURL instead. " )
1125
1125
public var pathExtension : String {
1126
1126
return _ns. pathExtension
1127
1127
}
1128
1128
1129
1129
// @property NSString* precomposedStringWithCanonicalMapping;
1130
1130
1131
- /// Returns a string made by normalizing the `String`’ s
1131
+ /// Returns a string made by normalizing the `String`' s
1132
1132
/// contents using Form C.
1133
1133
public var precomposedStringWithCanonicalMapping : String {
1134
1134
return _ns. precomposedStringWithCanonicalMapping
1135
1135
}
1136
1136
1137
1137
// @property NSString * precomposedStringWithCompatibilityMapping;
1138
1138
1139
- /// Returns a string made by normalizing the `String`’ s
1139
+ /// Returns a string made by normalizing the `String`' s
1140
1140
/// contents using Form KC.
1141
1141
public var precomposedStringWithCompatibilityMapping : String {
1142
1142
return _ns. precomposedStringWithCompatibilityMapping
0 commit comments