You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -435,7 +435,7 @@ public struct Data : ReferenceConvertible, CustomStringConvertible, Equatable, H
435
435
///
436
436
/// In some cases, (for example, a `Data` backed by a `dispatch_data_t`, the bytes may be stored discontiguously. In those cases, this function invokes the closure for each contiguous region of bytes.
437
437
/// - parameter block: The closure to invoke for each region of data. You may stop the enumeration by setting the `stop` parameter to `true`.
/// - parameter range: A range of integers. For each integer in the range that intersects the integers in the IndexSet, then the `includeInteger predicate will be invoked. Pass `nil` (the default) to use the entire range.
631
631
/// - parameter includeInteger: The predicate which decides if an integer will be included in the result or not.
632
-
publicfunc filteredIndexSet(in range :Range<Element>?=nil, includeInteger:@noescape(Element)throws->Bool)rethrows->IndexSet{
632
+
publicfunc filteredIndexSet(in range :Range<Element>?=nil, includeInteger:(Element)throws->Bool)rethrows->IndexSet{
633
633
letr:NSRange= range !=nil?_toNSRange(range!):NSMakeRange(0, NSNotFound -1)
openfunc write(to url:URL, atomically:Bool)->Bool{NSUnimplemented()} // the atomically flag is ignored if url of a type that cannot be written atomically.
publicfunc enumerateKeysAndObjects(_ opts:EnumerationOptions=[], using block:@noescape(AnyObject,AnyObject,UnsafeMutablePointer<ObjCBool>)->Swift.Void){
482
+
publicfunc enumerateKeysAndObjects(_ opts:EnumerationOptions=[], using block:(AnyObject,AnyObject,UnsafeMutablePointer<ObjCBool>)->Swift.Void){
483
483
letcount=self.count
484
484
varkeys=[AnyObject]()
485
485
varobjects=[AnyObject]()
@@ -496,22 +496,22 @@ open class NSDictionary : NSObject, NSCopying, NSMutableCopying, NSSecureCoding,
0 commit comments