CGRect var as property value?
- by David.Chu.ca
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?