-
Notifications
You must be signed in to change notification settings - Fork 10
Description
I'm trying to run the demo application, when I do this I get the following error
RBCollectionViewInfoFolderLayout[19992:1154545] [/BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreUI_Sim/CoreUI-371.4/Bom/Storage/BOMStorage.c:507] stream invalid; root page is outside of address range
2016-02-12 19:16:47.198 RBCollectionViewInfoFolderLayout[19992:1154484] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCache setObject:forKey:cost:]: attempt to insert nil value (key: http://i.annihil.us/u/prod/marvel/i/mg/2/d0/4bc6815155c10/portrait_incredible.jpg)'
*** First throw call stack:
(
0 CoreFoundation 0x0000000109a20e65 exceptionPreprocess + 165
1 libobjc.A.dylib 0x0000000109499deb objc_exception_throw + 48
2 CoreFoundation 0x000000010993c581 -[NSCache setObject:forKey:cost:] + 401
3 RBCollectionViewInfoFolderLayout 0x000000010781276a __56-[ViewController collectionView:cellForItemAtIndexPath:]_block_invoke_2 + 106
4 libdispatch.dylib 0x000000010a47249b _dispatch_client_callout + 8
5 libdispatch.dylib 0x000000010a45bc3c _dispatch_barrier_sync_f_slow_invoke + 284
6 libdispatch.dylib 0x000000010a47249b _dispatch_client_callout + 8
7 libdispatch.dylib 0x000000010a45a2af _dispatch_main_queue_callback_4CF + 1738
8 CoreFoundation 0x0000000109980d09 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
9 CoreFoundation 0x00000001099422c9 __CFRunLoopRun + 2073
10 CoreFoundation 0x0000000109941828 CFRunLoopRunSpecific + 488
11 GraphicsServices 0x000000010c79ead2 GSEventRunModal + 161
12 UIKit 0x0000000107b06610 UIApplicationMain + 171
13 RBCollectionViewInfoFolderLayout 0x000000010781c00f main + 111
14 libdyld.dylib 0x000000010a4a692d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
I'm also wondering how can I implement this when I already have made a custom cell myself with a .xib file? I'm not that experienced with swift/objective c(I'm using swift) so I'm having trouble implementing it.