Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let sectionSetRange = currSec.count...(currSec.count + newSec.count)
- let indexSet = IndexSet(integersIn: sectionSetRange)
- var indexPaths = [IndexPath]()
- for index in 0..<sectionSetRange.count {
- for item in 0..<arrFiles[index].documents.count {
- indexPaths.append(IndexPath(item: item, section: index))
- }
- }
Add Comment
Please, Sign In to add comment