CGRect var as property value?
Posted
by David.Chu.ca
on Stack Overflow
See other posts from Stack Overflow
or by David.Chu.ca
Published on 2010-06-04T06:01:07Z
Indexed on
2010/06/04
6:09 UTC
Read the original article
Hit count: 154
iphone
|objective-c
CGRect type is a structure type. If I want to define a property as this type, should I use assign or retain attribute for this type?
@interface MyClass {
CGRect rect;
...
}
@property (nonatomic, assign) rect; // or retain?
© Stack Overflow or respective owner