摘要:
[摘要:小数背上与整,指小数局部间接进1 x=3.14, ceilf (x)=4 小数背下与整,指间接往失落小数局部 x=3.14,floor(x)=3 盘算效果背上与整 A被除数,B除数 ,(AB-1)/B] 小数向上取整,指小数部分直接进1 x=3.14,ceilf(x)=4 小数向下取整,指直 阅读全文
摘要:
内容提要: podfile升级之后到最新版本,pod里的内容必须明确指出所用第三方库的target,否则会出现The dependency `` is not used in any concrete target这样的错误。 以下从三个步骤陈述: 1. Podfile升级 查看pod版本: pod 阅读全文
摘要:
NSMutableArray *array = [NSMutableArray arrayWithObjects:@"1",@"2",@"3",nil]; NSArray* reversedArray = [[array reverseObjectEnumerator] allObjects]; 阅读全文
摘要:
find . -name .git | xargs rm -fr 阅读全文
摘要:
1.定义一个字符串a, 截取a 的某一个部分,复制给b, b必须是int型 NSString *a = @"1.2.30"; int b= [[a substringWithRange:NSMakeRange(4,2)] intValue]; NSLog(@"a:%@ \n",a ); NSLog( 阅读全文
摘要:
上传的时候,苹果发送邮件 Non-public API usage: The app references non-public symbols in DUO-LINK 4: _UICreateCGImageFromIOSurface If method names in your source c 阅读全文
摘要:
原文地址:http://my.oschina.net/u/2340880/blog/521700 Xcode真机测试could not find developer disk image解决方法 在使用Xcode进行真机调试的时候,有时根据真机的系统不同,会出现could not find deve 阅读全文
摘要:
可能是你到cimmit日志的字有svn不认的,重新把长传日志删掉,重新敲一遍就好了 阅读全文
摘要:
选中该文件,右键选中clean即可 阅读全文
摘要:
#import <ifaddrs.h> #import <arpa/inet.h> // Get IP Address - (NSString *)getIPAddress { NSString *address = @"error"; struct ifaddrs *interfaces = NU 阅读全文