Changeset 343

Show
Ignore:
Timestamp:
10/14/08 05:21:42 (3 months ago)
Author:
wolf
Message:

[NEW] mogenerator 1.13.1: fix typo introduced in r314 where I was using -(will|Did)AccessValueForKey?: in relationship NSMutableSet getter when I should have been using -(will|Did)AChangeValueForKey:. (Pascal Augustin)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cocoa/mogenerator/mogenerator.m

    r342 r343  
    333333    if (_version) 
    334334    { 
    335         printf("mogenerator 1.13. By Jonathan 'Wolf' Rentzsch + friends.\n"); 
     335        printf("mogenerator 1.13.1. By Jonathan 'Wolf' Rentzsch + friends.\n"); 
    336336        return EXIT_SUCCESS; 
    337337    } 
  • trunk/cocoa/mogenerator/templates/machine.m.motemplate

    r342 r343  
    9393 
    9494- (NSMutableSet*)<$Relationship.name$>Set { 
    95         [self willChangeValueForKey:@"<$Relationship.name$>"]; 
     95        [self willAccessValueForKey:@"<$Relationship.name$>"]; 
    9696        NSMutableSet *result = [self mutableSetValueForKey:@"<$Relationship.name$>"]; 
    97         [self didChangeValueForKey:@"<$Relationship.name$>"]; 
     97        [self didAccessValueForKey:@"<$Relationship.name$>"]; 
    9898        return result; 
    9999}