//
// CCAutoDisappearView.h
// CCFC
//
// Created by xichen on 11-12-16.
// Copyright 2011 ccteam. All rights reserved.
//
#import <UIKit/UIKit.h>
// a kind of view that can disappear automatically
@interface CCAutoDisappearView : UIView
{
UILabel *_msgLbl;
double _tm;
UIView *_superView;
UIColor *_bgColor;
}
@property(nonatomic, assign) double tm; // the time that disappear time
@property(nonatomic, assign) UIView *superView;
@property(nonatomic, retain) UILabel *msgLbl;
@property(nonatomic, retain) UIColor *bgColor;
- (void)setText:(NSString *)str;
- (void)show;
@end googlecode链接地址(会有更新):h[url]ttp://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCAutoDisappearView.h[/url]
本文介绍了一个名为CCAutoDisappearView的自定义视图组件,该组件能够在指定时间内自动消失,适用于iOS应用程序开发中实现动态效果。
128

被折叠的 条评论
为什么被折叠?



