//
// DDActionHeaderView.h
// DDActionHeaderView (Released under MIT License)
//
// Created by digdog on 10/5/10.
// Copyright (c) 2010 Ching-Lan 'digdog' HUANG.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
@interface DDActionHeaderView : UIView <UIGestureRecognizerDelegate> {
@protected
BOOL borderGradientHidden_;
UILabel *titleLabel_;
NSArray *items_;
@private
UIView *actionPickerView_;
CAGradientLayer *actionPickerGradientLayer_;
}
@property(nonatomic, assign, getter=isBorderGradientHidden) BOOL borderGradientHidden; // Default is NO. Set YES to hide transparent gradient below the bottom border.
@property(nonatomic, readonly) BOOL isActionPickerExpanded;
@property(nonatomic, retain, readonly) UILabel *titleLabel; // Readonly, but you can change its properties freely.
@property(nonatomic, copy) NSArray *items; // Array of UIView subclass instances, will be added into a (DDActionHeaderView's width - 20)px width and 50px height action picker.
- (void)shrinkActionPicker; // Shrink action picker to its minimal size.
@end
iOS游戏应用源代码——digdog-DDActionHeaderView-1.0-9-g9f6b64b.zip
版权申诉
85 浏览量
2023-07-02
16:47:59
上传
评论
收藏 214KB ZIP 举报
![avatar](https://profile-avatar.csdnimg.cn/f6740e8f05584afa97a4f1a99e16fc63_woaimx_1314.jpg!1)
快乐无限出发
- 粉丝: 1159
- 资源: 7299
最新资源
- java-leetcode题解之第111题二叉树的最小深度.zip
- java-leetcode题解之第110题平衡二叉树.zip
- java-leetcode题解之第109题有序链表转换二叉搜索树.zip
- java-leetcode题解之第108题将有序数组转换为二叉搜索树.zip
- java-leetcode题解之第107题二叉树的层序遍历II.zip
- java-leetcode题解之第102题二叉树的层序遍历.zip
- java-leetcode题解之第103题二叉树的锯齿形层序遍历.zip
- java-leetcode题解之第104题二叉树的最大深度.zip
- java-leetcode题解之第173题二叉搜索树迭代器.zip
- java-leetcode题解之第100题相同的树.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback-tip](https://img-home.csdnimg.cn/images/20220527035111.png)