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

appdelegate init crash #43

Closed
ChendayUP opened this issue Dec 17, 2018 · 3 comments
Closed

appdelegate init crash #43

ChendayUP opened this issue Dec 17, 2018 · 3 comments

Comments

@ChendayUP
Copy link

No description provided.

@ChendayUP
Copy link
Author

ChendayUP commented Dec 17, 2018

after network init cocoadebug , app crash
because OCLogModel.m

NSRange range = NSMakeRange(0, lenghtDate);
[attstr addAttribute:NSForegroundColorAttributeName value: [[NetworkHelper shared] mainColor] range: range];
[attstr addAttribute:NSFontAttributeName value: [UIFont boldSystemFontOfSize:12] range: range];

the [NetworkHelper shared] mainColor] is nil

@ChendayUP ChendayUP reopened this Dec 17, 2018
@ChendayUP ChendayUP changed the title init crash appdelegate init crash Dec 17, 2018
CocoaDebug added a commit that referenced this issue Dec 17, 2018
@CocoaDebug
Copy link
Owner

CocoaDebug commented Dec 17, 2018

Please update CocoaDebug to last version. Thanks!

@CocoaDebug CocoaDebug added the bug Something isn't working label Dec 17, 2018
@haoht
Copy link

haoht commented Dec 18, 2018

Good

@CocoaDebug CocoaDebug removed the bug Something isn't working label Apr 2, 2019
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

3 participants