123456789101112131415161718 |
- //
- // NSArray+Extension.swift
- // PDF Reader Pro
- //
- // Created by kdanmobile on 2023/10/27.
- //
- import Foundation
- extension NSArray{
- func removeObjects(arr:[Any], set: IndexSet) -> [Any] {
- var newArr: NSMutableArray = arr as! NSMutableArray
- // let removeA = newArr.objects(at: set)
- newArr.removeObjects(at: set)
- return newArr as! [Any]
- }
- }
|