mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Use dictionary type sugar in the standard library.
Swift SVN r19264
This commit is contained in:
@@ -1047,8 +1047,8 @@ extension String {
|
||||
/// Returns a dictionary object initialized with the keys and
|
||||
/// values found in the `String`.
|
||||
@public
|
||||
func propertyListFromStringsFileFormat() -> Dictionary<String, String> {
|
||||
return _ns.propertyListFromStringsFileFormat() as Dictionary<String, String>
|
||||
func propertyListFromStringsFileFormat() -> [String : String] {
|
||||
return _ns.propertyListFromStringsFileFormat() as [String : String]
|
||||
}
|
||||
|
||||
// - (NSRange)rangeOfCharacterFromSet:(NSCharacterSet *)aSet
|
||||
|
||||
Reference in New Issue
Block a user