martes, 1 de marzo de 2016

iOS: NSError

        NSMutableDictionary* details = [NSMutableDictionary dictionary];
        [details setValue:@"<Error_description>" forKey:NSLocalizedDescriptionKey];
        

        NSError* error = [NSError errorWithDomain:[[NSBundle mainBundle] bundleIdentifier] code:500 userInfo:details];


No hay comentarios:

Publicar un comentario