IGListKit/Examples/Examples-macOS/IGListKitExamples/Helpers/IndexSet+Extensions.swift

17 lines
321 B
Swift
Raw Normal View History

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import Foundation
extension IndexSet {
static var zero: IndexSet {
return NSIndexSet(index: 0) as IndexSet
}
}