iOS 面试时可能会提到的知识点,整理下! 1、frame bouns 区别 在view中画出区别2、代理、单例 手写代码3、设计模式 延迟加载 监听 kvo mvc4、深拷贝 浅拷贝 区别 举例开发工程中哪些实现了这些 ios中哪个实现了深拷贝5、动画 view中哪里可以实现动画6、layer 与view的区别 7、绘制图片文字 你的思路8、你站在开发者角度 为啥需
iOS7.1 UISearchBar 去掉黑线.. 发现我们的应用 iOS7.1 编译后 UISearchBar 背景色是黑色下图为正常效果(凹进去的搜索框并不是 UISearchBar 背景图片,而是一个 UIButton )效果是点击后隐藏 UIButton 展开 UISearchBariOS7.1 编译后的效果尝试修改barTintColor 属性searchBar.barTin
『无法安装应用程序,因为XXXXXXXX的证书无效』解决方法。 iOS7.1 升级之后通过Safari 点击以下超链接会提示『无法安装应用程序,因为XXXXXXXX的证书无效』itms-services://?action=download-manifest&url=http://example.com/manifest.plist解决方法是http://example.com/manifest.plist 该为 https://ex
Application failed codesign verification. The signature was invalid, contains disallowed entitlemen [解决方法]Target设置----->build------>Validate Built Product选项去掉
SVNX *.o *.lo *.a *.la *.al .libs *.so *.so 等有些文件无法提交解决方法 1. 打开终端2. 跳到当前用户跟目录 cd ~3. 编辑.subversion/config 文件vim .subversion/config4. 找到global-ignores 选项并去掉注释,并且删掉可以忽略的文件扩展名譬如我无法提交a文件,那就去掉*.a刷新svnx
OPT 下无法创建目录解决方法 【问题】root@LS-WXL1EB:/mnt/array1/tmp# sh ./teraprov2-bootstrap_1.2-7_arm.xsh Optware Bootstrap for teraprov2.Extracting archive... please waitbootstrap/bootstrap/bootstrap.shbootstrap/ip
ios 正则表达式语法参考 1.去RegexKitLite下载类库,解压出来会有一个例子包及2个文件,其实用到的就这2个文件,添加到工程中。2.工程中添加libicucore.dylib frameworks。3.现在所有的nsstring对象就可以调用RegexKitLite中的方法了。NSString *email = @”kkk@aaa.com”;[email isMatched
Finding a lost dSYM Finding a lost dSYMLast Updated: Nov 27, 2012 04:27AM PSTSometimes we just can't seem to find the correct dSYM anywhere. Not to worry, we've created the short video below on how to find those lost
【错误处理:】Collection <__NSArrayM: 0x12ec10e0> was mutated while being enumerated. [cpp] view plaincopy*** Terminating app due to uncaught exception 'NSGenericException', reason: '*** Collection was mutated while being enumerated.' 用个for循环去读取一个数组A,然后删除一些元素的操作
IOS6.0框架及功能更新小结 原帖:http://www.cocoachina.com/bbs/read.php?tid=116108《IOS6.0框架及功能更新小结》作者: showt1me 1. Maps替换Google Map为苹果自行研发3D地图2. Social Network集成新浪微博,Facebook , Twitter等社交网络帐号管理。
UIMenuController控件的使用及菜单调不出的解决方法 UIMenuController *popMenu = [UIMenuController sharedMenuController]; UIMenuItem *item1 = [[UIMenuItem alloc] initWithTitle:@”1″ action:@selector(menuItem1Pressed:)];UIMenuItem *item2 = [[UIMenu
xcode4: Linker error: Directory not found for option 【问题】:{Directory not found for option '-L../../../Mac/Profile/lib [full path of that directory]Library not found for -lMyLib}【解决方法】:Go to "Get Info" on the target. Click the "Build Settin
NSLog输出格式 • %@ 对象• %d, %i 整数• %u 无符整形• %f 浮点/双字• %x, %X 二进制整数• %o 八进制整数• %zu size_t• %p 指针• %e 浮点/双字 (科学计算)• %g 浮点/双字• %s C 字符串• %.*s Pascal字符串• %c 字符• %C unichar• %lld 64位长整数(long l
file is universal (3 slices) but does not contain a(n) armv7s slice: /file/location for architecture 【问题】:I upgraded xcode version and when using external static libraries I get this message:ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /file/location for architec
去百度还是去创新工厂? 信开复还是信彦宏? 我前两天,收到一封邮件,一位快要毕业的的大学生问我,是去百度,还是去创新工场?他在来信中说,从个人道德价值观来说,他想去创新工场,要远离流氓企业,不然会有狼狈为奸、助纣为虐的感觉,对不起自己。但是创新工场那边情况不熟悉, 不知道怎么选择,并问我现在比较热的移动互联网靠不靠谱。 去百度,还是去创新工场我对新东西是总是持谨慎的态度,创新工场的刚起步,还需要磨练,而且
谈谈我对delegate和protocol的理解 前言:最近在学习iPhone开发,对Protocol和delegate理解不是很好;在cocoachina瞎逛的时候发现了有个高手对它们这样比喻...以下是原文!我上班的工作主要内容包括 (1)写代码(2)写文档(3)测试程序(4)接电话(5)会见客户(1)(2)我自己全权负责,但是后面(3)(4)(5)我不想或者不方便自己做,所以我想找个助手(delegate)帮我做这些事,于是我定了一个招聘要求(Protocol),里写明我的助手需要会做(
Test.code 국가코드 한글설정 call setEnvValue("SYSTEMID", getSystemID()) call setEnvValue("NA_CODE", "KOR") call setEnvValue("NA_NAME", "Korea") call setEnvValue("CHAR_SET", "euc-kr") call setEnvValue("CODE_P