mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib/String: rename String.utf16count -> .utf16Count to follow naming
conventions rdar://17016806 Swift SVN r19463
This commit is contained in:
@@ -894,7 +894,7 @@ extension String {
|
||||
// @property NSUInteger length;
|
||||
|
||||
/// Returns the number of Unicode characters in the `String`.
|
||||
@public var utf16count: Int {
|
||||
@public var utf16Count: Int {
|
||||
return _ns.length
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user