I've a property called propertyOne
it exists in the data model the class is based off..
in the header it's declared as
in the implementation it's put in as
in the implementation i made the set method:
so according to the documentation i should be all sweet.
but no
undo works fine, but as soon as i do a redo it doesn't
that string is the new value of propertyOne after a redo
the best part is that the program can undo and redo perfectly if it's just undoing and redoing the awakeFromInsert.... *sarcasm*
what have i done wrong?
it exists in the data model the class is based off..
in the header it's declared as
Code:
@property (nonatomic, retain) NSString * propertyOne;
in the implementation it's put in as
Code:
@dynamic propertyOne;
in the implementation i made the set method:
Code:
-(void)setWords: (NSString*)newPropertyOne {
[self willChangeValueForKey: @"propertyOne"];
propertyOne = newPropertyOne;
[self didChangeValueForKey: @"propertyOne"];
}
so according to the documentation i should be all sweet.
but no
undo works fine, but as soon as i do a redo it doesn't
Code:
(
<MenuItem: 0x1296a0 Use Default>,
<MenuItem: 0x129720 Use None>,
<MenuItem: 0x1297a0 Use All>
)
the best part is that the program can undo and redo perfectly if it's just undoing and redoing the awakeFromInsert.... *sarcasm*
what have i done wrong?