You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
605 B
22 lines
605 B
1 year ago
|
//
|
||
|
// DLSlideTabbarProtocol.h
|
||
|
// DLSlideController
|
||
|
//
|
||
|
// Created by Dongle Su on 14-12-8.
|
||
|
// Copyright (c) 2014年 dongle. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
@protocol DLSlideTabbarDelegate <NSObject>
|
||
|
- (void)DLSlideTabbar:(id)sender selectAt:(NSInteger)index;
|
||
|
@end
|
||
|
|
||
|
@protocol DLSlideTabbarProtocol <NSObject>
|
||
|
@property(nonatomic, assign) NSInteger selectedIndex;
|
||
|
@property(nonatomic, readonly) NSInteger tabbarCount;
|
||
|
@property(nonatomic, weak) id<DLSlideTabbarDelegate> delegate;
|
||
|
- (void)switchingFrom:(NSInteger)fromIndex to:(NSInteger)toIndex percent:(float)percent;
|
||
|
|
||
|
@end
|