CollapseClick
CollapseClick copied to clipboard
CollapseClickCell not loading
Hello, after doing all the steps, like you wrote, I got the message: "could not load NIB with name 'CollapseClickCell'
Did I miss something out? I don't think I have to configure one, do I?
Is CollapseClickCell.xib added into your project?
Hi, I included the files by using cocoa pods. there was no collapseclickcell.xib in this podfile included. so i tried it by manually adding it. same effect there.?
On Mar 29, 2013, at 11:06 PM, Ben Gordon [email protected] wrote:
Is CollapseClickCell.xib added into your project?
— Reply to this email directly or view it on GitHub.
Good catch, it looks like I only included .m/.h files in the podspec. After adding it, you still get the same error?
absolutely yes :) hm… i downloaded your file package from github and tried to add it manually, but it does not recognize the file at all… maybe I could give it a try again, after you've added the XIB to the podfile. Then I can give you feedback again.
On Mar 30, 2013, at 5:20 PM, Ben Gordon [email protected] wrote:
Good catch, it looks like I only included .m/.h files in the podspec. After adding it, you still get the same error?
— Reply to this email directly or view it on GitHub.
The only thing I can think of, is that it may not be in the "Copy Bundle Resources" list inside of "Build Phases" when you click on the target. (located in the same place you add new frameworks)
The new podspec is updated to include the xib.
Cool.. I give it a try and will give you feedback ASAP!
On Mar 30, 2013, at 6:17 PM, Ben Gordon [email protected] wrote:
The only thing I can think of, is that it may not be in the "Copy Bundle Resources" list inside of "Build Phases" when you click on the target. (located in the same place you add new frameworks)
The new podspec is updated to include the xib.
— Reply to this email directly or view it on GitHub.
I also get this error and I installed using CocoaPods. The xib is in the "Copy Bundle Resources" list in the Pods project.
i still have the same problems with pod version 1.0.1.
Same here! What to do?
Use this code by Storyboard CollapseClickCell *cell = [[CollapseClickCell alloc] initWithFrame:CGRectMake(0, 0, 320, kCCHeaderHeight)]; //cell = [views objectAtIndex:0]; UIStoryboard *sto = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle: nil];
CustomCollapsCellViewController *col = [sto instantiateViewControllerWithIdentifier:@"someidentifieryousetinIB"];
cell = col.collapseView;
but not work and give error that cell is null in CollapseClick.m
at this codes // Add to DataArray & isClickedArray [self.isClickedArray addObject:[NSNumber numberWithBool:NO]]; [self.dataArray addObject:cell]; <<<<<---- why @bennyguitar ???
Same problem here.... "could not load NIB with name 'CollapseClickCell'