Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 43 lines (32 sloc) 0.878 kb
a224b79 @danielctull Initial commit. Split out from DTKit.
authored
1 //
2 // DTGridViewCell.h
3 // GridViewTester
4 //
5 // Created by Daniel Tull on 06.04.2009.
6 // Copyright 2009 Daniel Tull. All rights reserved.
7 //
8
9 #import <UIKit/UIKit.h>
10 #import "DTGridViewCellInfoProtocol.h"
11
12 @protocol DTGridViewCellDelegate;
13
14 /*!
15 @class DTGridViewCell
16 @abstract
17 @discussion
18 */
19 @interface DTGridViewCell : UIView <DTGridViewCellInfoProtocol> {
20
cdcebdf @danielctull Fix warnings found in the DCTKit project
authored
21 NSUInteger xPosition, yPosition;
a224b79 @danielctull Initial commit. Split out from DTKit.
authored
22 NSString *identifier;
23
24 BOOL selected;
3102420 @danielctull Added a highlight property which is true when the user has their fing…
authored
25 BOOL highlighted;
a224b79 @danielctull Initial commit. Split out from DTKit.
authored
26
27 id<DTGridViewCellDelegate> delegate;
28
29 }
f2cdbf2 @danielctull Set properties as nonatomic.
authored
30 @property (nonatomic, assign) id delegate;
31 @property (nonatomic, copy) NSString *identifier;
32 @property (nonatomic, assign) BOOL selected;
33 @property (nonatomic, assign) BOOL highlighted;
a224b79 @danielctull Initial commit. Split out from DTKit.
authored
34 - (id)initWithReuseIdentifier:(NSString *)identifier;
35 - (void)prepareForReuse;
36 @end
37
38 @protocol DTGridViewCellDelegate
39
40 -(void)gridViewCellWasTouched:(DTGridViewCell *)gridViewCell;
41
42 @end
Something went wrong with that request. Please try again.