01 2013 档案
UIView
摘要:The geometry of a view is defined by itsframe,bounds, andcenterproperties. Theframedefines the origin and dimensions of the view in the coordinate system of its superview and is commonly used during layout to adjust the size or position of the view. Thecenterproperty can be used to adjust the posi.. 阅读全文
posted @ 2013-01-22 20:00 kelisi_king 阅读(157) 评论(0) 推荐(0)
viewDidUnload && dealloc
摘要:混乱中。。。。1.何时调用。2.各自的内部分别该释放什么变量。http://xinsheng.huawei.com/cn/index.php?app=forum&mod=Detail&act=index&id=11841632013.4.8:dealloc:对象生命周期结束后(即引用计数变为0)即调用自己的dealloc函数,释放自己的实例变量。viewDidUnload:再其它视图时,如若遇到内存吃紧的情况下,会调用viewDidUnload去释放当前未使用的而且还在占用内存的控件变量等。 阅读全文
posted @ 2013-01-06 17:09 kelisi_king 阅读(171) 评论(0) 推荐(0)