1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/SupermanGC-HorizontalTableView

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
В этом репозитории не указан файл с открытой лицензией (LICENSE). При использовании обратитесь к конкретному описанию проекта и его зависимостям в коде.
Клонировать/Скачать
HorizontalTableView.h 2 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
SupermanGC Отправлено 14.08.2015 05:59 e6b4681
//
// HorizontalTableView.h
// Scroller
//
// Created by Martin Volerich on 5/22/10.
// Copyright 2010 Martin Volerich - Bill Bear Technologies. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software without restriction, including without
// limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
// the Software, and to permit persons to whom the Software is furnished to do so, subject to the following
// conditions:
//
// The above copyright notice and this permission notice shall be included in all copies or substantial
// portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
// EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
// AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
// OR OTHER DEALINGS IN THE SOFTWARE.
#import <UIKit/UIKit.h>
@class HorizontalTableView;
@protocol HorizontalTableViewDelegate
- (NSInteger)numberOfColumnsForTableView:(HorizontalTableView *)tableView;//行数
- (UIView *)tableView:(HorizontalTableView *)tableView viewForIndex:(NSInteger)index;//行内容
- (CGFloat)columnWidthForTableView:(HorizontalTableView *)tableView;//行宽
@end
@interface HorizontalTableView : UIView {
NSMutableArray *_pageViews;
UIScrollView *_scrollView;
NSUInteger _currentPageIndex;
NSUInteger _currentPhysicalPageIndex;
NSInteger _visibleColumnCount;
NSNumber *_columnWidth;
id<HorizontalTableViewDelegate> _delegate;
NSMutableArray *_columnPool;
}
@property(nonatomic, assign)id<HorizontalTableViewDelegate> delegate;
@property(nonatomic,retain)NSString*page;
- (void)refreshData;
- (UIView *)dequeueColumnView;
@end

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/SupermanGC-HorizontalTableView.git
git@api.gitlife.ru:oschina-mirror/SupermanGC-HorizontalTableView.git
oschina-mirror
SupermanGC-HorizontalTableView
SupermanGC-HorizontalTableView
master