摘要:
NSStringEncoding strEncode = CFStringConvertEncodingToNSStringEncoding(kCFStringEncodingGB_18030_2000); NSString *strReceive = [[NSString alloc] initWithData:receivedData encoding:strEncode]; 阅读全文
摘要:
When you create new projects, Xcode prompts you to select a template to start from. From here, you can choose from iPhone and Mac OS X options. Each option lets you craft your application from a pre-d... 阅读全文
摘要:
By default, Xcode inserts a company name something similar to the following in all new source files (.m .h etc): Copyright (c) 2009 MyCompanyName. All rights reserved.Changing this reference is as sim... 阅读全文
摘要:
1、通过函数CFDataRef CFDataCreate(CFAllocatorRef allocator, const UInt8 *bytes, CFIndex length);转化成CFDataRef。2、通过函数CG_EXTERN CGDataProviderRef CGDataProviderCreateWithCFData(CFDataRef data);转化成CGDataProvid... 阅读全文