Permalink
Switch branches/tags
Nothing to show
Find file
e2c23df Aug 14, 2012
@jivadevoe @vytis @p-l @martica
23 lines (19 sloc) 473 Bytes
//
// RIButtonItem.h
// Shibui
//
// Created by Jiva DeVoe on 1/12/11.
// Copyright 2011 Random Ideas, LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface RIButtonItem : NSObject
{
NSString *label;
void (^action)();
}
@property (retain, nonatomic) NSString *label;
@property (copy, nonatomic) void (^action)();
+(id)item;
+(id)itemWithLabel:(NSString *)inLabel;
+(id)itemWithLabel:(NSString *)inLabel action:(void(^)(void))action;
@end