Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (20 sloc) 0.613 kb
//
// ExamplePlugin.m
// ExampleApplication
//
// Created by Grayson Hansard on 2/5/09.
// Copyright 2009 From Concentrate Software. All rights reserved.
//
#import "ExamplePlugin.h"
@implementation ExamplePlugin
-(NSString *)actionProperty { return @"label-click"; }
-(BOOL)actionEnableForValue:(id)forValue withValue:(id)withValue { return YES; }
-(NSString *)actionTitleForValue:(id)forValue withValue:(id)withValue { return @"Perform ObjC Example plugin";}
-(void)actionPerformForValue:(id)forValue withValue:(id)withValue {
NSLog(@"%s", _cmd);
}
-(id)run {
NSLog(@"%s", _cmd);
return nil;
}
@end
Jump to Line
Something went wrong with that request. Please try again.