iphone-common-codes-ccteam源代码 CCUIHilightedLabel.h

//  
// CCUIHilightedLabel.h
// CCFC
//
// Created by xichen on 11-12-16.
// Copyright 2011 ccteam. All rights reserved.
//


#import <UIKit/UIKit.h>


@class CCUIHilightedLabel;


@protocol UIHilightedLabelDelegate


- (void)onHilightedLabelTouchedBegan:(CCUIHilightedLabel *)hilightedLabel;


@end




// a kind of UILabel that can be touched to hilighted
@interface CCUIHilightedLabel : UILabel
{
id _delegate;
BOOL _isHilighted;
BOOL _disableHilight;
UIColor *_hilightedColor;
}


@property(nonatomic, assign) id delegate;
@property(nonatomic, assign) BOOL isHilighted;
@property(nonatomic, assign) BOOL disableHilight;
@property(nonatomic, retain) UIColor *hilightedColor;


- (id)initWithFrame:(CGRect)frame;
- (void)setIsHilighted:(BOOL)isHighlighted;


@end

 

可能有更新:

googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCUIHilightedLabel.h

github地址: https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCUIHilightedLabel.h

 

你可能感兴趣的:(iPhone)