Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (26 sloc) 928 Bytes
//
// TWMessagesViewController.h
// Messages
//
// This is an abstract class for displaying a UI similar
// to Apple's SMS application. A subclass should
// override the messageStyleForRowAtIndexPath: and
// textForRowAtIndexPath: to customize this class.
//
// This is still a work in progress and likely to change
// at any time.
//
// Created by Sam Soffes on 3/10/10.
// Copyright 2010 Tasteful Works. All rights reserved.
//
#import "TWMessageTableViewCell.h"
@class TWGradientView;
@interface TWMessagesViewController : UIViewController <UITableViewDataSource, UITableViewDelegate, UITextFieldDelegate> {
UITableView *_tableView;
TWGradientView *_inputView;
UIButton *_sendButton;
}
@property (nonatomic, retain, readonly) UITableView *tableView;
- (TWMessageTableViewCellMessageStyle)messageStyleForRowAtIndexPath:(NSIndexPath *)indexPath;
- (NSString *)textForRowAtIndexPath:(NSIndexPath *)indexPath;
@end