Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CollapseClickCell not loading #6

Open
isarfaktor opened this issue Mar 29, 2013 · 11 comments
Open

CollapseClickCell not loading #6

isarfaktor opened this issue Mar 29, 2013 · 11 comments

Comments

@isarfaktor
Copy link

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?

@bennyguitar
Copy link
Owner

Is CollapseClickCell.xib added into your project?

@isarfaktor
Copy link
Author

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.

@bennyguitar
Copy link
Owner

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

@isarfaktor
Copy link
Author

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.

@bennyguitar
Copy link
Owner

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.

@isarfaktor
Copy link
Author

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.

@AnasQ
Copy link

AnasQ commented Apr 10, 2013

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

@temojin
Copy link

temojin commented Apr 12, 2013

i still have the same problems with pod version 1.0.1.

@TimE90
Copy link

TimE90 commented Jun 6, 2013

Same here! What to do?

@morteza2128
Copy link

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

@HLGgithub
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants