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

attempt to insert nil object from objects[0] #106

Open
ecnepsnai opened this issue Aug 13, 2015 · 0 comments
Open

attempt to insert nil object from objects[0] #106

ecnepsnai opened this issue Aug 13, 2015 · 0 comments

Comments

@ecnepsnai
Copy link

In CMPopTipView.m at line 439:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]'
*** First throw call stack:
(0x184a402d8 0x1966b40e4 0x18492c9c8 0x18492c7f8 0x100141624 0x100117f30 0x185934180 0x1849f812c 0x1849f7ddc 0x1849f5828 0x1849212d4 0x18e37f6fc 0x18951ef40 0x10010e6c0 0x196d5ea08)
libc++abi.dylib: terminating with uncaught exception of type NSException

Using the following code:

CMPopTipView * tipView = [[CMPopTipView alloc] initWithMessage:@"Some tip that's a bit long but not crazy long"];
tipView.title = @"Tip:";
tipView.delegate = self;
tipView.backgroundColor = [UIColor lightGrayColor];
tipView.textColor = [UIColor darkTextColor];
tipView.has3DStyle = NO;
tipView.hasGradientBackground = NO;
UITableViewCell * cell = [self.tableView cellForRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0]];
[tipView presentPointingAtView:cell inView:self.view animated:YES];

iOS 8.4.

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

1 participant