We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46fd0c7 commit e9c84b5Copy full SHA for e9c84b5
Foundation/NSArray.swift
@@ -673,7 +673,7 @@ public class NSMutableArray : NSArray {
673
}
674
675
public func replaceObjectsInRange(range: NSRange, withObjectsFromArray otherArray: [AnyObject], range otherRange: NSRange) {
676
- replaceObjectsInRange(range, withObjectsFromArray: otherArray.bridge().subarrayWithRange(otherRange))
+ replaceObjectsInRange(range, withObjectsFromArray: Array(otherArray[otherRange.toRange()!]))
677
678
679
public func replaceObjectsInRange(range: NSRange, withObjectsFromArray otherArray: [AnyObject]) {
0 commit comments