摘要:
// 字符串转成ASCII后转成16进制- (NSString *) NSStringToASCIINSString:(NSString *)str1{ NSString *str4 = nil; NSMutableString *strlast = [[NSMutableString al... 阅读全文
摘要:
-(NSString*)str2HexStr:(NSString*)str{ NSString* hexStr= @""; NSString* hex = @"0123456789ABCDEF"; NSString* str4Up = [str uppercaseString]; // ... 阅读全文
摘要:
当我们碰到alloc,new,copy,mutableCopy时都会生成对象,会使引用计数器自动加一,相当于对对象做了一次retain,需要在适当的地方进行一次release。当我们碰到allocMyObject,newThatObject,copyThis,mutableCopyYourObjec... 阅读全文