I just noticed that I had a rogue NSTextView hidden under the visible one
and I was likely binding both of them to he same field which probably
explains why it would crash with an error sometimes and other times run just
fine. I cleaned up my window and it appears to be working smoothly now.
thank
Thanks mmalc
so after reading this, I see that dynamic is not necessary to explicitly
specify as it is the default... I also used the
"*Copy Obj-C 2.0 Method Declarations to Clipboard*"
which spit out my origText as retain (and not copy) as I originally had it
so I changed it to retain.
Also by
On Mar 7, 2008, at 8:19 AM, Jason Kravitz wrote:
I am a bit confused about using dynamic properties and whether I
should be
using synthesize to create the setter/getters on these fields. Is it
appropriate (or more importantly, required) to add a line like this
to my
MyEntity NSManagedObjec
The following is occurring on Leopard - Garbage Collection set to
required...
I have an Entity with a NSManagedObject class declaration
// header
@interface MyEntity : NSManagedObject {
}
@property (readwrite, copy) NSString *origText,*title;
@property (readwrite, copy) NSDate *date;
@end
//