It compiles and works for me on iOS ... Can you tell please what the compilation issue you experience ?

Thanks
Jaro

Sent from my iPhone

On 29 May 2013, at 11:09, minggo <notifications@github.com> wrote:

> In cocos2dx/support/user_default/CCUserDefault.mm:
> 
> > +        else
> > +        {
> > +            // delete xmle node
> > +            deleteNode(doc, node);
> > +        }
> > +    }
> > +#endif
> > +    
> > +    NSData *data = [[NSUserDefaults standardUserDefaults] dataForKey:[NSString stringWithUTF8String:pKey]];
> > +    if (! data)
> > +    {
> > +        return defaultValue;
> > +    }
> > +    else
> > +    {
> > +        unsigned char *bytes = {};
> This line will cause compiling error on iOS.
> 
> —
> Reply to this email directly or view it on GitHub.