Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
FantasyView is a horizontal tableview.
Branch: master

This branch is even with wxin9:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
FantasyView.xcodeproj
FantasyView
.gitignore
README.md

README.md

FantasyView

FantasyView is a horizontal tableview.

FantasyView.h:

import

@protocol FantasyViewDataSource; @protocol FantasyViewDelegate;

@interface FantasyView : UIView

@property (nonatomic, retain) UITableView *tableView; @property (nonatomic, assign) id dataSource; @property (nonatomic, assign) id delegate; @property (nonatomic, assign) NSInteger currentIndex; @property (nonatomic, assign) BOOL pagingEnabled;

  • (void)reloadData;
  • (void)fantasyViewScrollToIndex:(NSInteger)index animation:(BOOL)animation;
  • (UIView *)getViewInFantasyViewWithIndex:(NSInteger)index;

@end

@protocol FantasyViewDelegate

@optional

  • (void)fantasyView:(FantasyView *)fanView selectIndex:(NSInteger)index;
  • (void)fantasyView:(FantasyView *)fanView scrollToIndex:(NSInteger)index;

@end

@protocol FantasyViewDataSource

@required

  • (CGFloat)fantasyView:(FantasyView *)fanView widthForIndex:(NSInteger)index;
  • (NSInteger)numberOfIndexForFantasyView:(FantasyView *)fanView;
  • (void)fantasyView:(FantasyView *)fanView setContentView:(UIView *)contentView ForIndex:(NSInteger)index;
  • (UIView *)fantasyView:(FantasyView *)fanView targetRect:(CGRect)targetRect ForIndex:(NSInteger)index;

@end

Something went wrong with that request. Please try again.