/**
* Copyright (c) 2009 Alex Fajkowski, Apparent Logic LLC
*
* 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 "AFItemView.h"
#import <QuartzCore/QuartzCore.h>
@protocol AFOpenFlowViewDataSource;
@protocol AFOpenFlowViewDelegate;
@interface AFOpenFlowView : UIView {
id <AFOpenFlowViewDataSource> dataSource;
id <AFOpenFlowViewDelegate> viewDelegate;
NSMutableSet *offscreenCovers;
NSMutableDictionary *onscreenCovers;
NSMutableDictionary *coverImages;
NSMutableDictionary *coverImageHeights;
UIImage *defaultImage;
CGFloat defaultImageHeight;
UIScrollView *scrollView;
int lowerVisibleCover;
int upperVisibleCover;
int numberOfImages;
int beginningCover;
AFItemView *selectedCoverView;
CATransform3D leftTransform, rightTransform;
CGFloat halfScreenHeight;
CGFloat halfScreenWidth;
Boolean isSingleTap;
Boolean isDoubleTap;
Boolean isDraggingACover;
CGFloat startPosition;
}
@property (nonatomic, assign) id <AFOpenFlowViewDataSource> dataSource;
@property (nonatomic, assign) id <AFOpenFlowViewDelegate> viewDelegate;
@property (nonatomic, retain) UIImage *defaultImage;
@property int numberOfImages;
- (void)setSelectedCover:(int)newSelectedCover;
- (void)centerOnSelectedCover:(BOOL)animated;
- (void)setImage:(UIImage *)image forIndex:(int)index;
@end
@protocol AFOpenFlowViewDelegate <NSObject>
@optional
- (void)openFlowView:(AFOpenFlowView *)openFlowView selectionDidChange:(int)index;
- (void)openFlowView:(AFOpenFlowView *)openFlowView singleTaped:(int)index;
@end
@protocol AFOpenFlowViewDataSource <NSObject>
- (void)openFlowView:(AFOpenFlowView *)openFlowView requestImageForIndex:(int)index;
- (UIImage *)defaultImage;
@end
没有合适的资源?快使用搜索试试~ 我知道了~
iOS游戏应用源代码——jianxiong101-TreasureHunt-62c7b0a.zip
共57个文件
h:14个
png:14个
m:14个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 29 浏览量
2023-07-05
23:16:20
上传
评论
收藏 1.22MB ZIP 举报
温馨提示
iOS游戏应用源代码——jianxiong101-TreasureHunt-62c7b0a.zip
资源推荐
资源详情
资源评论
收起资源包目录
iOS游戏应用源代码——jianxiong101-TreasureHunt-62c7b0a.zip (57个子文件)
jianxiong101-TreasureHunt-62c7b0a
ReadMe 80B
TreasureHunt.xcodeproj
project.pbxproj 31KB
xcuserdata
xj.xcuserdatad
xcdebugger
Breakpoints.xcbkptlist 91B
xcschemes
xcschememanagement.plist 574B
TreasureHunt.xcscheme 3KB
project.xcworkspace
contents.xcworkspacedata 157B
xcuserdata
xj.xcuserdatad
UserInterfaceState.xcuserstate 29KB
TreasureHunt
MessageInfo.m 313B
skill.png 12KB
bg_login.png 41KB
ScrollviewItem.m 1KB
ViewController.h 407B
homePage.m 1KB
banner_main.jpg 18KB
3.png 145KB
homePage.h 217B
0.png 142KB
MapIcon.png 31KB
BigRoomView.h 223B
SelectActor.m 4KB
BG101.png 41KB
AppDelegate.h 283B
AppDelegate.m 2KB
main.m 342B
1.png 116KB
IconHead.png 1KB
SelectActor.h 527B
Ship.png 93KB
TreasureHunt-Prefix.pch 327B
MainViewTitle.m 1KB
MainViewTitle.h 227B
GameMainView.m 3KB
MapWorld.png 63KB
ScrollviewItem.h 224B
TreasureHunt-Info.plist 1KB
BG301.png 51KB
BigRoomView.m 1KB
OpenFlow
AFOpenFlowView.m 16KB
AFOpenFlowConstants.h 1KB
AFOpenFlowView.h 3KB
AFUIImageReflection.h 1KB
AFItemView.h 2KB
AFUIImageReflection.m 4KB
AFItemView.m 3KB
ViewController.m 4KB
Title.png 88KB
en.lproj
MainStoryboard_iPad.storyboard 2KB
InfoPlist.strings 45B
MainStoryboard_iPhone.storyboard 2KB
2.png 175KB
GameMainView.h 388B
MessageInfo.h 305B
MapArea01.png 175KB
TreasureHuntTests
TreasureHuntTests.m 466B
TreasureHuntTests-Info.plist 688B
TreasureHuntTests.h 243B
en.lproj
InfoPlist.strings 45B
共 57 条
- 1
资源评论
快乐无限出发
- 粉丝: 1134
- 资源: 7269
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功