daily pastebin goal
49%
SHARE
TWEET

Untitled

a guest Nov 8th, 2018 93 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. let sectionSetRange = currSec.count...(currSec.count + newSec.count)
  2. let indexSet = IndexSet(integersIn: sectionSetRange)
  3. var indexPaths = [IndexPath]()
  4. for index in 0..<sectionSetRange.count {
  5.     for item in 0..<arrFiles[index].documents.count {
  6.         indexPaths.append(IndexPath(item: item, section: index))
  7.     }
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top