Objective-C / UIButton / SetTitle
Posted
by apple92
on Stack Overflow
See other posts from Stack Overflow
or by apple92
Published on 2010-05-10T23:12:07Z
Indexed on
2010/05/10
23:14 UTC
Read the original article
Hit count: 692
Does the setTitle method of UIButton retain the NSString passed as argument ?
I guess I can rely on the fact that the property is defined as:
property(nonatomic,readonly,retain) UILabel *titleLabel
In this case, I think that it does retain the string.
Thanks, Apple92
© Stack Overflow or respective owner