CollapseClick icon indicating copy to clipboard operation
CollapseClick copied to clipboard

CollapseClickCell not loading

Open isarfaktor opened this issue 11 years ago • 11 comments

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?

isarfaktor avatar Mar 29 '13 20:03 isarfaktor

Is CollapseClickCell.xib added into your project?

bennyguitar avatar Mar 29 '13 22:03 bennyguitar

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.

isarfaktor avatar Mar 30 '13 16:03 isarfaktor

Good catch, it looks like I only included .m/.h files in the podspec. After adding it, you still get the same error?

bennyguitar avatar Mar 30 '13 16:03 bennyguitar

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.

isarfaktor avatar Mar 30 '13 16:03 isarfaktor

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.

bennyguitar avatar Mar 30 '13 17:03 bennyguitar

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.

isarfaktor avatar Mar 30 '13 22:03 isarfaktor

I also get this error and I installed using CocoaPods. The xib is in the "Copy Bundle Resources" list in the Pods project.

AnasQ avatar Apr 10 '13 11:04 AnasQ

i still have the same problems with pod version 1.0.1.

temojin avatar Apr 12 '13 21:04 temojin

Same here! What to do?

TimE90 avatar Jun 06 '13 11:06 TimE90

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 ???

morteza2128 avatar Aug 14 '13 06:08 morteza2128

Same problem here.... "could not load NIB with name 'CollapseClickCell'

HLGgithub avatar Aug 31 '13 04:08 HLGgithub