grabKit
grabKit copied to clipboard
Getting assertion failure on all sources
Hi there! Thank you for your great component!
I having a problem implementing it. I already installed the component via CocoaPods and configured it following the detailed instructions on the wiki, but I'm getting a Assertion failure in -[UITableView _configureCellForDisplay:forIndexPath:]
.
I set a breakpoint on GRKPickerAlbumList.m:827
and there the cell
variable is null, as tableView
fails to dequeue a cell with the cell identifier AlbumCell
.
Any hint?
Hey! I continued debugging this and now I see that is the GRK_BUNDLE
that it's not loaded properly this macro returns a null value.
I achieved a workaround that allow me to follow with my development:
On GRKPickerViewController:33
replace the line
~~#define GRK_BUNDLE [NSBundle bundleWithPath:[[NSBundle mainBundle] pathForResource:@"GrabKitBundle" ofType:@"bundle"]]~~
with
#define GRK_BUNDLE [NSBundle mainBundle]
This worked for me, but I'm not sure it to be the best solution. I installed the grabKit via CocoaPods.
Thanks for your feedback. I'm going to investigate and review the whole procedure.