摘要:
为了方便,封了一个城市选择,没什么特殊需要可以直接用,不足之处多多指正目录:效果图:几个组合控件实现➕数据库查询数据实现reloadComponent:刷新哪一列[_piker selectRow:0 inComponent:2 animated:NO];设置第二(0开始)列滚到第一个Demo链接:... 阅读全文
摘要:
目录1.创建UITableView对象并设置相关属性2.创建cellModel模型//枚举类型typedef enum { ChatMessageFrom = 0,//来自对方的消息 ChatMessageTo //发给对方的消息 }ChatMesageType;#im... 阅读全文
摘要:
=-= 命名有些错误,但功能实现,以后注意下命名规范WJViewGroup.h#import @interface WJViewGroup : UIView { NSInteger _width; NSInteger _height;}@property (nonatomic,assig... 阅读全文
摘要:
导入头文件#import "ChineseInclude.h"#import "PinYinForObjc.h" NSMutableArray *searchResults;//可变数组,添加搜索到的数据设置数据源- (NSArray *)dataArray { if (!_dataAr... 阅读全文
摘要:
设置一个在编辑状态下点击可改变图片的cellFileItemTableCell.h#import @interface FileItemTableCell : UITableViewCell{@private UIImageView* m_checkImageView; BOOL ... 阅读全文
摘要:
下载链接:https://github.com/cdpenggod/CDPMonitorKeyboardCDPMonitorKeyboard.h#import #import @interface CDPMonitorKeyboard : NSObject//获取其单例+(CDPMonitorKey... 阅读全文
摘要:
设置Id属性,标记是哪个cell@property (nonatomic,assign)NSInteger Id;设置一个普通状态和选中状态图片不同的按钮 _choose = [[UIButton alloc]init]; [_choose setImage:[UIImage ima... 阅读全文
摘要:
原文链接:http://www.cnblogs.com/jerehedu/p/4527707.html效果图:CaptchaView.h@interface CaptchaView : UIView@property (nonatomic, retain) NSArray *changeArray;... 阅读全文
摘要:
自定义cell和取到相应的cell就行了TableViewCell.h#import @interface TableViewCell : UITableViewCell { BOOL _checked; UIImageView *_checkedImage;}- (void)setCh... 阅读全文
摘要:
UIColor+Hex.h//// UIColor+Hex.h// 16进制颜色类别//// Created by apple on 15-4-3.// Copyright (c) 2015年 apple. All rights reserved.//#import #define RGBA... 阅读全文