¡@

Home 

2014/10/15 ¤U¤È 10:10:19

iphone Programming Glossary: ingredientstextlabel

does addSubview increment retain count?

http://stackoverflow.com/questions/4163908/does-addsubview-increment-retain-count

self.view addSubview theView Am I actually leaking memory I have a global property @property nonatomic retain UILabel ingredientsTextLabel which I instantiate in viewDidLoad with this code I just have the property named theres no property for it in my header.. code I just have the property named theres no property for it in my header so no getter and setter. In my viewDidLoad ingredientsTextLabel UILabel alloc initWithFrame CGRectMake 0 0 ingredientsScrollView.frame.size.width ingredientsScrollView.frame.size.height.. alloc initWithFrame CGRectMake 0 0 ingredientsScrollView.frame.size.width ingredientsScrollView.frame.size.height ingredientsTextLabel setBackgroundColor UIColor clearColor ingredientsTextLabel setFont UIFont fontWithName @ Helvetica size 18 ingredientsTextLabel..