gavinkwoe / BeeFramework

[Experimental] A semi-hybrid framework that allows you to create mobile apps using Objective-C and XML/CSS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BeeFileCache serialize崩溃

Sunny-zhao opened this issue · comments

  • (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上出现野指针问题