Big rename part 3: 'target' to 'output'.
[enjoyable.git] / NJMapping.m
index a5f810c..4e7c4b2 100644 (file)
     return self;
 }
 
-- (Target *)objectForKeyedSubscript:(NJInput *)input {
+- (NJOutput *)objectForKeyedSubscript:(NJInput *)input {
     return input ? _entries[input.uid] : nil;
 }
 
-- (void)setObject:(Target *)target forKeyedSubscript:(NJInput *)input {
+- (void)setObject:(NJOutput *)output forKeyedSubscript:(NJInput *)input {
     if (input) {
-        if (target)
-            _entries[input.uid] = target;
+        if (output)
+            _entries[input.uid] = output;
         else
             [_entries removeObjectForKey:input.uid];
     }