Skip to content
Snippets Groups Projects
Commit 32c9c4c1 authored by cramakri's avatar cramakri
Browse files

Invalidate the refcon object when the refconJson object is changed

SVN: 27277
parent 7ced3f45
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,15 @@
@synthesize image;
- (void)setRefconJson:(NSString *)refconJson
{
// Update the object value as well.
[self willChangeValueForKey: @"refconJson"];
[self setPrimitiveValue: refconJson forKey: @"refconJson"];
[self setPrimitiveValue: nil forKey: @"refcon"];
[self didChangeValueForKey: @"refconJson"];
}
- (id)refcon
{
[self willAccessValueForKey: @"refcon"];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment