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.
47 lines
1.2 KiB
47 lines
1.2 KiB
![]()
2 years ago
|
//
|
||
|
// XHShareMenuItem.h
|
||
|
// MessageDisplayExample
|
||
|
//
|
||
|
// Created by HUAJIE-1 on 14-5-1.
|
||
|
// Copyright (c) 2014年 曾宪华 开发团队(http://iyilunba.com ) 本人QQ:543413507 本人QQ群(142557668). All rights reserved.
|
||
|
//
|
||
|
#import <UIKit/UIKit.h>
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
#define kXHShareMenuItemWidth 60
|
||
|
#define KXHShareMenuItemHeight 80
|
||
|
|
||
|
@interface XHShareMenuItem : NSObject
|
||
|
|
||
|
/**
|
||
|
* 正常显示图片
|
||
|
*/
|
||
|
@property (nonatomic, strong) UIImage *normalIconImage;
|
||
|
|
||
|
/**
|
||
|
* 第三方按钮的标题
|
||
|
*/
|
||
|
@property (nonatomic, copy) NSString *title;
|
||
|
|
||
|
@property (nonatomic, strong) UIColor *titleColor;
|
||
|
|
||
|
@property (nonatomic, strong) UIFont *titleFont;
|
||
|
|
||
|
/**
|
||
|
* 根据正常图片和标题初始化一个Model对象
|
||
|
*
|
||
|
* @param normalIconImage 正常图片
|
||
|
* @param title 标题
|
||
|
*
|
||
|
* @return 返回一个Model对象
|
||
|
*/
|
||
|
- (instancetype)initWithNormalIconImage:(UIImage *)normalIconImage
|
||
|
title:(NSString *)title;
|
||
|
|
||
|
- (instancetype)initWithNormalIconImage:(UIImage *)normalIconImage
|
||
|
title:(NSString *)title
|
||
|
titleColor:(UIColor *)titleColor
|
||
|
titleFont:(UIFont *)titleFont;
|
||
|
@end
|