单军华
2018-04-20 3af69bdf381b9ab123ee6bb6ded07e06578f434a
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
//
//  ICCommonItem.h
//  ICStaticPage
//
// github地址:https://github.com/corderguo/StaticPage
//
//  Created by Mr.Guo on 15/5/28.
//  Copyright © 2016年 XianZhuangGuo. All rights reserved.
//
 
#import <Foundation/Foundation.h>
 
typedef void(^GXItemOption)();
 
@interface ICCommonItem : NSObject
 
@property (nonatomic ,strong) NSString *icon;
@property (nonatomic ,strong) NSString *title;
@property (nonatomic, strong) NSString *detail;
// 具体的操作
@property (nonatomic ,copy) GXItemOption option;
 
// 目的控制器
@property (nonatomic ,assign) Class destVcClass;
 
// 传递的参数
@property (nonatomic, strong) id parameter;
 
+ (instancetype)itemWithIcon:(NSString *)icon title:(NSString *)title name:(NSString *)name destVcClass:(Class)destVcClass parameter:(id)parameter;
 
@end