自动生成代码,不是垃圾回收ARC的判断准则: 只要没有强指针指向对象,就会释放对象1、ARC特点 -》不允许调用release、retain、retainCount -》允许重写dealloc,但是不允许调用[super dealloc] -》@property的参数 stro...
分类:
其他好文 时间:
2014-09-24 19:12:57
阅读次数:
204
1、CSS语法CSS规则有两个主要部分构成:选择器,以及一条或多条说明。例如:selector{declaration1;declaration2;declaration3;......;}注:选择器通常是你需要改变样式的html元素。 每条声明有一个属性和一个值组成。属性(property)是你....
分类:
Web程序 时间:
2014-09-24 17:47:57
阅读次数:
234
error: property's synthesized getter follows Cocoa naming convention for returning 'owned' objects
In file included from /Users/developer/Documents/StarShow/ShowWall/View/NewShowItemView.m:9:
/Users...
分类:
其他好文 时间:
2014-09-24 17:40:57
阅读次数:
195
Struts2的标签用法和示例1)s:property标签:property 标签用来输出一个值栈属性的值 示例: 输出 Action 属性 customerId 的值: 输出 session 属性 userName 的值: notice:如果 value 属性没...
分类:
其他好文 时间:
2014-09-24 12:56:36
阅读次数:
159
不用arc的话strong weak 相当于:strong 用来修饰强引用的属性;@property (strong) SomeClass * aObject;对应原来的@property (retain) SomeClass * aObject; 和 @property (copy) SomeCl...
分类:
移动开发 时间:
2014-09-24 04:36:45
阅读次数:
229
多线程有4种NSObject---NSObject自带的,但是他不能对数据进行保护NSThread---过于复杂,使用起来不够方便NSOperationQueue---操作队列,管理线程,内部有一个线程池,负责对现有的线程进行管理/重用GDC(grandcentraldispatch);----基于C的多线程解决方案队列有两种(串行/并行)MainV..
分类:
编程语言 时间:
2014-09-23 20:18:25
阅读次数:
236
info.plist文件其实类似于一个系统配置文件,在这里可以设置系统系统语言,程序版本以及是否把状态了隐藏现实等等。我们一般打开info.plist是以Property list的形式查看的,当然你也可以右击这个文件选择open as>>>Source Code以xml形式打开。...
分类:
移动开发 时间:
2014-09-23 18:35:25
阅读次数:
238
当向具有LOV的ITEM赋值时,可能会弹出FRM-40212的对话框。解决办法:可以在赋值语句之后加上以下语句:set_item_property(‘DETAIL.LOCATOR‘,ITEM_IS_VALID,PROPERTY_TRUE);其中‘DETAIL.LOCATOR‘为具有LOV的ITEM.
分类:
其他好文 时间:
2014-09-23 18:15:35
阅读次数:
372
// The view controller that presented this view controller (or its farthest ancestor.)
@property(nonatomic,readonly) UIViewController *presentingViewController NS_AVAILABLE_IOS(5_0);
a present b...
分类:
其他好文 时间:
2014-09-23 17:35:05
阅读次数:
248
IE6:_selector{property:value;}selector{property:value;property:value !important;} //IE6 不支持同一选择符中的 !importantIE7:+selector{property:value;}IE8:selecto...
分类:
Web程序 时间:
2014-09-23 12:38:24
阅读次数:
235