objC newbie question...thanks in advance for any help...
it is my understanding that when i declare for a class a property of type NSMutable Array, i must always declare it with the property attribute (copy) as in:
@property myArray (copy,nonatomic)
however, suppose i have an instance, myObject, of a class MyClass, whose properties are as follows:
@interface MyClass : NSObject
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *kind;
@property (nonatomic, copy) NSMutableArray *timeSeries;
if i declare a property of class MyClass in some other class, does that property also have to be declared as (copy), or can it be (weak) or (strong), and why (or why not?)
for example, can i declare the following property in another class as follows:
@property (nonatomic, weak) MyClass *thing;