Skip to content
This repository
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 27 lines (22 sloc) 0.891 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
//
// OmniGridViewDelegate.h
// OmniGridView
//
// Created by Haoxiang on 5/17/11.
// Copyright 2011 Dev.Mr.pppoe. All rights reserved.
//

@class OmniGridLoc;
@class OmniGridCell;
@class OmniGridView;

@protocol OmniGridViewDelegate

@required
- (OmniGridCell *)gridCellAt:(OmniGridLoc *)gridLoc inGridView:(OmniGridView *)gridView;
- (float)gridCellHeightInGridView:(OmniGridView *)gridView;
- (float)gridCellWidthInGridView:(OmniGridView *)gridView;
- (int)numberOfGridCellsInRow:(int)row inGridView:(OmniGridView *)gridView;
- (int)numberOfRowsInGridView:(OmniGridView *)gridView;

@optional
- (void)gridView:(OmniGridView *)gridView willDisplayCell:(OmniGridCell *)cell forGridLoc:(OmniGridLoc *)gridLoc;
- (void)gridView:(OmniGridView *)gridView didSelectCellAtLoc:(OmniGridLoc *)gridLoc;
- (BOOL)gridView:(OmniGridView *)gridView shouldEditCellAtLoc:(OmniGridLoc *)gridLoc;

@end
Something went wrong with that request. Please try again.