![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
IOS
青林亦
这个作者很懒,什么都没留下…
展开
-
NSString 常用
1、初始化字符串一 [[NSString alloc] initWithFormat:@"%d",10]; 2、初始化字符串二 [[NSString alloc] initWithCString:@"字符串内容"] 3、字符串的替换注:将转载 2013-06-26 22:27:49 · 417 阅读 · 0 评论 -
【已解决】iOS编程过程中出错:’autorelease’ is unavailable: not available in automatic reference counting mode, AR
http://www.crifan.com/ios_error_autorelease_is_unavailable_not_available_in_automatic_reference_counting_mode_arc_forbids_explicit_message_send_of_autorelease/【问题】在给Your Second iOS App的BirdW转载 2013-06-27 23:07:46 · 4151 阅读 · 0 评论 -
Objective-C之@property和@synthesize
http://mobile.51cto.com/iphone-392353.htm今天要说的内容是Objective-C 中的 @property和@synthesize。在这之前先讲讲访问器(Accessor),也就是我们所知道的setter和getter方法。 《Cocoa Design Patterns》中的将它归类为基础模式中的一种。访问器是很重要的技术,用来访问和设置对象的实转载 2013-06-29 19:13:55 · 513 阅读 · 0 评论 -
xcode快捷键
主菜单调整的大,Build, Run 都没啦,快捷键的变动自然就大。再由于 Interface Builder 已经内建到 Xcode 中了,所以先前的 command + 数字 显示出相应面板的快捷键被替代为 command + option + 数字 了,但也不是直接对应的。连 option + command + up 在 .h 和 .m 间切换的快感的体验不到了,有触摸板的朋友请用三个手指转载 2013-07-05 21:46:38 · 730 阅读 · 0 评论