-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAMMenuScrollView.h
38 lines (26 loc) · 962 Bytes
/
AMMenuScrollView.h
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
28
29
30
31
32
33
34
35
36
37
38
//
// AMMenueScrollView.h
// Schalke Klickdummy
//
// Created by Bernhard Harrer on 17.12.14.
// Copyright (c) 2014 Appmaker. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "AMMenuScrollViewCell.h"
@protocol AMMenuScrollViewDelegate;
@protocol AMMenuScrollViewDataSource;
@interface AMMenuScrollView : UIScrollView <UIScrollViewDelegate,AMMenuScrollViewCellDeleagte>
@property (nonatomic,weak) IBOutlet id<AMMenuScrollViewDataSource> dataSource;
@property (nonatomic,weak) IBOutlet id<AMMenuScrollViewDelegate> menueDelegate;
- (void)scrollToItem:(NSInteger)index;
- (void)loadView;
- (void)reloadItems;
- (void)clean;
@end
@protocol AMMenuScrollViewDelegate
- (void)menuScrollView:(AMMenuScrollView *)menuScrollView didSelectItemAtIndex:(NSInteger)index;
@end
@protocol AMMenuScrollViewDataSource
- (AMMenuScrollViewCell *)menuScrollView:(AMMenuScrollView *)menuScrollView cellForItem:(NSInteger)index;
- (NSInteger)numberOfItems;
@end