//
// RatingViewController.h
// RatingController
//
// Created by Ajay on 2/28/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol RatingViewDelegate
-(void)ratingChanged:(float)newRating;
@end
@interface RatingView : UIView {
UIImageView *s1, *s2, *s3, *s4, *s5;
UIImage *unselectedImage, *partlySelectedImage, *fullySelectedImage;
id<RatingViewDelegate> viewDelegate;
float starRating, lastRating;
float height, width; // of each image of the star!
}
@property (nonatomic, retain) UIImageView *s1;
@property (nonatomic, retain) UIImageView *s2;
@property (nonatomic, retain) UIImageView *s3;
@property (nonatomic, retain) UIImageView *s4;
@property (nonatomic, retain) UIImageView *s5;
-(void)setImagesDeselected:(NSString *)unselectedImage partlySelected:(NSString *)partlySelectedImage
fullSelected:(NSString *)fullSelectedImage andDelegate:(id<RatingViewDelegate>)d;
-(void)displayRating:(float)rating;
-(float)rating;
@end
没有合适的资源?快使用搜索试试~ 我知道了~
iPhoneSDK星级评价实现代码
共49个文件
svn-base:21个
m:4个
png:3个
5星 · 超过95%的资源 需积分: 14 20 下载量 44 浏览量
2012-02-08
14:32:21
上传
评论 1
收藏 60KB ZIP 举报
温馨提示
iPhoneSDK星级评价实现代码,跟app store上类似的星级评价代码
资源推荐
资源详情
资源评论
收起资源包目录
iPhoneSDK星级评价实现代码.zip (49个子文件)
RatingView
.svn
props
all-wcprops 1KB
entries 2KB
text-base
1.png.svn-base 848B
main.m.svn-base 362B
Info.plist.svn-base 902B
RatingView.h.svn-base 999B
RatingControllerViewController.xib.svn-base 13KB
0.png.svn-base 593B
MainWindow.xib.svn-base 9KB
RatingController_Prefix.pch.svn-base 201B
2.png.svn-base 867B
RatingView.m.svn-base 4KB
format 2B
tmp
props
text-base
prop-base
prop-base
1.png.svn-base 53B
0.png.svn-base 53B
2.png.svn-base 53B
0.png 593B
RatingView.h 999B
RatingControllerViewController.xib 13KB
RatingController.xcodeproj
agautam.pbxuser 10KB
yile.perspectivev3 42KB
project.pbxproj 13KB
agautam.mode1v3 40KB
.svn
props
all-wcprops 524B
entries 660B
text-base
agautam.pbxuser.svn-base 10KB
agautam.mode1v3.svn-base 40KB
project.pbxproj.svn-base 13KB
format 2B
tmp
props
text-base
prop-base
prop-base
project.pbxproj.svn-base 29B
yile.pbxuser 3KB
MainWindow.xib 9KB
main.m 362B
Info.plist 902B
Classes
RatingControllerAppDelegate.h 525B
.svn
props
all-wcprops 692B
entries 819B
text-base
RatingControllerViewController.h.svn-base 543B
RatingControllerAppDelegate.m.svn-base 655B
RatingControllerAppDelegate.h.svn-base 525B
RatingControllerViewController.m.svn-base 809B
format 2B
tmp
props
text-base
prop-base
prop-base
RatingControllerAppDelegate.m 655B
RatingControllerViewController.h 543B
RatingControllerViewController.m 809B
RatingView.m 4KB
RatingController_Prefix.pch 201B
1.png 848B
2.png 867B
共 49 条
- 1
chenhuagui
- 粉丝: 0
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页