Skip to content
This repository has been archived by the owner on Oct 5, 2018. It is now read-only.

Commit

Permalink
Adapted the Automator action to the new interface of the NibProcessor…
Browse files Browse the repository at this point in the history
… class
  • Loading branch information
Adrian Kosmaczewski committed Aug 12, 2010
1 parent 5246158 commit c3dc10d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Action and Service/Convert with nib2objc.h
Expand Up @@ -3,7 +3,7 @@
// Convert with nib2objc
//
// Created by Adrian on 7/17/10.
// Copyright (c) 2010 __MyCompanyName__, All Rights Reserved.
// Copyright (c) 2010 akosma software, All Rights Reserved.
//

#import <Cocoa/Cocoa.h>
Expand Down
3 changes: 2 additions & 1 deletion Action and Service/Convert with nib2objc.m
Expand Up @@ -3,7 +3,7 @@
// Convert with nib2objc
//
// Created by Adrian on 7/17/10.
// Copyright (c) 2010 __MyCompanyName__, All Rights Reserved.
// Copyright (c) 2010 akosma software, All Rights Reserved.
//

#import "Convert with nib2objc.h"
Expand All @@ -19,6 +19,7 @@ - (id)runWithInput:(id)input fromAction:(AMAction *)anAction error:(NSDictionary
// is an array with string filenames.
NibProcessor *processor = [[[NibProcessor alloc] init] autorelease];
processor.input = [input objectAtIndex:0];
[processor process];
return processor.output;
}

Expand Down

0 comments on commit c3dc10d

Please sign in to comment.