本人的pod search 三方,搜索不到东西
pod search afn [!] Unable to find a pod with name, author, summary, or descriptionmatching `afn` pod search masonry [!] Unable to find a pod with name, author, summary, or descript……
arc和非arc下的retaincount问题
下面的代码在 非arc下:obC = 1 ob1C = 2 在arc下:obC = 1 ob1C = 1 为什么在arc下 ob1C是1,本人觉得应该也是2啊,不是调用了setter吗?setter不是先release旧值,在retain新值的吗? (_ob和ob1都是用strong声明的) _ob = [[NSObject alloc] init];……
xcode第二次运行iOS程序报错LaunchServicesError error 0
在iOS模拟器上跑程序,突然昨天就冒出这样一个错误 不要告诉本人reset模拟器可以解决,原因是每次reset完,第二次安装也会报这个错误,总不能每次都reset模拟器再跑吧,多麻烦啊。求高手给出好的方法 解决方案:20分 假如Info.plist中Bundle version存在,也要判断它归不规范,要写成x.x 形式。例如1.0 ,假如写成1,它也要……
iOS 关于scrollView的代理方法
代理方法怎么用? – (void)scrollViewDidScroll:(UIScrollView *)scrollView; // any offset changes – (void)scrollViewDidZoom:(UIScrol……
ios 下的hook
通过运行时的method_exchangeImplementations等函数可以hook objc的函数,但是很多api是c接口; 谁有ios下inline hook 或iat hook 或其他能hook到c接口的办法么 ……