how to generate an event
Posted
by user262325
on Stack Overflow
See other posts from Stack Overflow
or by user262325
Published on 2010-04-13T09:37:47Z
Indexed on
2010/04/13
10:33 UTC
Read the original article
Hit count: 614
Hello everyone
I created a subclass from UIView
#import <UIKit/UIKit.h>
@interface MeeSelectDropDownView : UIView {
UILabel *mainText;
UIImage *bgImg;
UIImageView *bgView;
UIImageView *originView;
NSMutableArray *labelArray;
int selectedItem;
BOOL inSelectTag;
float _defaultHeight;
}
@property (nonatomic , retain) UIImage *bgImg;
@property (nonatomic , retain) UIImageView *bgView;
@property (nonatomic , retain) NSMutableArray *labelArray;
@property (nonatomic , retain) UIImageView *originView;
@property (nonatomic , retain) UILabel *mainText;
@property (nonatomic , readonly) int selectedItem;
- (void) setViewHeight:(float)aheight;
-(void) showDropList;
-(void) hiddenDropList;
-(void) setStringByArray:(NSArray*)array;
-(void)hiddenLabels
{
for(UILabel *aLabel in labelArray){
[aLabel removeFromSuperview];
}
}
Is it possible to generate an Event from function 'hiddenLabels' to inform and do somethings
Thanks
interdev
© Stack Overflow or respective owner