//
// UIBadgeView.h
// UIBadgeView
//
// Copyright (C) 2011 by Omer Duzyol
//
// 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 <Foundation/Foundation.h>
#import <QuartzCore/QuartzCore.h>
@interface UIBadgeView : UIView {
NSUInteger width;
NSString *badgeString;
UIFont *font;
UITableViewCell *parent;
UIColor *badgeColor;
UIColor *badgeColorHighlighted;
}
@property (nonatomic, readonly) NSUInteger width;
@property (nonatomic, retain) NSString *badgeString;
@property (nonatomic, assign) UITableViewCell *parent;
@property (nonatomic, assign) BOOL shadowEnabled;
@property (nonatomic, retain) UIColor *badgeColor;
@property (nonatomic, retain) UIColor *badgeColorHighlighted;
@property (nonatomic, assign) id delegate;
- (void) drawRoundedRect:(CGRect) rrect inContext:(CGContextRef) context
withRadius:(CGFloat) radius;
@end
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
自定义Tab.zip (37个子文件)
Ivan_Test
UIBadgeView.h 2KB
slide@2x.png 3KB
record.png 3KB
split.png 3KB
Ivan_UITabBar.m 8KB
Ivan_Test.xcodeproj
project.xcworkspace
contents.xcworkspacedata 154B
xcuserdata
Ivan.xcuserdatad
UserInterfaceState.xcuserstate 110KB
Ivan.pbxuser 19KB
project.pbxproj 19KB
Ivan.mode1v3 41KB
xcuserdata
Ivan.xcuserdatad
xcschemes
Ivan_Test.xcscheme 3KB
xcschememanagement.plist 481B
xcdebugger
Breakpoints.xcbkptlist 91B
Ivan_Test_Prefix.pch 179B
UIBadgeView.m 8KB
MainWindow.xib 43KB
slide.png 3KB
FirstView.xib 7KB
main.m 350B
record@2x.png 3KB
Ivan_Test-Info.plist 907B
SecondView.xib 7KB
care@2x.png 3KB
Ivan_UITabBar.h 569B
README.mdown 451B
care.png 3KB
Classes
TestBadgeViewController.m 2KB
FirstViewController.m 7KB
TestBadgeViewController.xib 19KB
Ivan_TestAppDelegate.h 470B
TestBadgeViewController.h 279B
SecondViewController.m 5KB
FirstViewController.h 437B
SecondViewController.h 234B
Ivan_TestAppDelegate.m 3KB
banner@2X.png 3KB
banner.png 3KB
共 37 条
- 1
yishui0521
- 粉丝: 0
- 资源: 13
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页