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

Dictionary value cannot be nil #3

Open
OkySabeni opened this issue Oct 21, 2015 · 0 comments
Open

Dictionary value cannot be nil #3

OkySabeni opened this issue Oct 21, 2015 · 0 comments

Comments

@OkySabeni
Copy link

I'm running Xcode 7 and iOS 9 SDK and it's giving me this warning:

.../Classes/CRFAQTableViewController.m:150:128: Dictionary value cannot be nil

The relevant code:
float height = [text boundingRectWithSize:CGSizeMake(width, INT_MAX) options:NSStringDrawingUsesLineFragmentOrigin attributes:@{NSFontAttributeName:font} context:nil].size.height;

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