Posts in iphone

NSData to NSString

abril 6th, 2013 Posted by iphone, objective-c 0 thoughts on “NSData to NSString”

En Objective C para castear un objeto NSData a un objeto NSString se realiza de dos maneras:

Si el objeto no termina en null hay que usar el método -initWithData:encoding:

    NSString* newStr = [[NSString alloc] initWithData:data

Si el objeto termina en null hay que usar el método -stringWithUTF8String para eliminar el al final de la cadena.

    NSString* newStr = [NSString stringWithUTF8String:[data bytes]];

JQuery iPhone Slider

enero 13th, 2011 Posted by iphone, jquery 0 thoughts on “JQuery iPhone Slider”

Appengine as backend for iphone apps

noviembre 8th, 2010 Posted by appengine, iphone 0 thoughts on “Appengine as backend for iphone apps”

Copyright © 2018

Programador Freelance Argentina