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

BeeFileCache serialize崩溃 #143

Open
Sunny-zhao opened this issue Oct 16, 2015 · 0 comments
Open

BeeFileCache serialize崩溃 #143

Sunny-zhao opened this issue Oct 16, 2015 · 0 comments

Comments

@Sunny-zhao
Copy link

  • (NSData *)serialize:(id)obj
    {

    if ( [obj isKindOfClass:[NSData class]] )
    return obj;

    if ( [obj respondsToSelector:@selector(JSONData)] ) {

    NSData *data = [obj JSONData];
    return data;
    

    }
    return nil;
    }
    在iOS9上出现野指针问题

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