Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines

This commit is contained in:
Dmitri Gribenko
2016-02-17 14:40:05 -08:00
450 changed files with 8406 additions and 5202 deletions

View File

@@ -931,7 +931,7 @@ extension NSDictionary : Sequence {
// Deliberately avoid the subscript operator in case the dictionary
// contains non-copyable keys. This is rare since NSMutableDictionary
// requires them, but we don't want to paint ourselves into a corner.
return (key: key, value: _dictionary.object(forKey: key)!)
return (key: key, value: _dictionary.object(for: key)!)
}
}
@@ -1316,7 +1316,7 @@ extension NSCoder {
unsafeBitCast($0, to: NSObject.self)
})
}
return self.__decodeObject(ofClasses: classesAsNSObjects, forKey: key)
return self.__decodeObjectOf(classes: classesAsNSObjects, forKey: key)
}
@warn_unused_result