随笔分类 -  03.IOS进阶UI控件

摘要:***hitTest 获取最合适的点@implementation HMGreenView- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ NSLog(@"%s",__func__);}// 获取 最合适的 ... 阅读全文
posted @ 2015-08-31 15:32 iso 阅读(205) 评论(0) 推荐(0)
摘要:*******view 一些方法#import "HMView.h"@implementation HMView// 一个完整的触摸过程// touchesBegan -> touchesMoved -> touchesEnded/* NSArray 集合 有序 NSSet 无序 *//... 阅读全文
posted @ 2015-08-31 15:23 iso 阅读(250) 评论(0) 推荐(0)
摘要:******控制器modal- (void)btnClick{ // 创建控制器对象 HMJumpViewController *jump = [[HMJumpViewController alloc] init]; // [self.view addSubview:jump... 阅读全文
posted @ 2015-08-27 16:06 iso 阅读(128) 评论(0) 推荐(0)
摘要:**************HMAppDelegate.m- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ self.win... 阅读全文
posted @ 2015-08-27 16:00 iso 阅读(196) 评论(0) 推荐(0)
摘要:*****联系人的界面的优化HMContactsTableViewController.m#import "HMContactsTableViewController.h"#import "HMAddViewController.h"#import "HMEditViewController.h"#... 阅读全文
posted @ 2015-08-27 15:56 iso 阅读(321) 评论(0) 推荐(0)
摘要:***************plist存储// 当点点击保存的时候调用 //保存- (IBAction)save:(id)sender { // 获取沙盒的根路径 // NSString *home = NSHomeDirectory(); // 拼接Docume... 阅读全文
posted @ 2015-08-27 15:48 iso 阅读(401) 评论(0) 推荐(0)
摘要:******HMLoginViewController 登陆的界面#import "HMLoginViewController.h"#import "MBProgressHUD+MJ.h"#import "HMContactsTableViewController.h"@interface HMLo... 阅读全文
posted @ 2015-08-27 15:32 iso 阅读(687) 评论(0) 推荐(0)
摘要:*****HMViewController.m#import "HMViewController.h"#import "HMKeyboardTool.h"@interface HMViewController (){ NSArray *_fields;//存储所有的textField}@pro... 阅读全文
posted @ 2015-08-24 19:15 iso 阅读(261) 评论(0) 推荐(0)
摘要:#import "HMViewController.h"@interface HMViewController ()@property(nonatomic,strong)NSArray *flags;@end@implementation HMViewController- (void)viewDi... 阅读全文
posted @ 2015-08-24 19:06 iso 阅读(145) 评论(0) 推荐(0)
摘要:****HMAppDelegate.m@implementation HMAppDelegate- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchO... 阅读全文
posted @ 2015-08-24 19:00 iso 阅读(213) 评论(0) 推荐(0)
摘要:*************HMAppDelegate.m中@implementation HMAppDelegate- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary... 阅读全文
posted @ 2015-08-24 18:11 iso 阅读(484) 评论(0) 推荐(0)
摘要:***控制层#import "ViewController.h"#import "CZKeyboardToolbar.h"@interface ViewController ()@property (strong, nonatomic) UIDatePicker *datepicker;@prope... 阅读全文
posted @ 2015-08-19 17:14 iso 阅读(379) 评论(0) 推荐(0)
摘要:*********#import "ViewController.h"#import "Province.h"@interface ViewController ()@property (nonatomic,strong)NSArray *provinces;@property (nonatomic... 阅读全文
posted @ 2015-08-19 16:19 iso 阅读(348) 评论(0) 推荐(0)
摘要:国旗选择#import "HMViewController.h"#import "HMFlag.h"#import "HMFlagView.h"@interface HMViewController ()@property(nonatomic,strong)NSArray *flags;@end@i... 阅读全文
posted @ 2015-08-19 15:56 iso 阅读(416) 评论(0) 推荐(0)
摘要:UIPickerView#import "ViewController.h"@interface ViewController ()@property (nonatomic,strong)NSArray *foods;@property (weak, nonatomic) IBOutlet UILa... 阅读全文
posted @ 2015-08-19 15:48 iso 阅读(216) 评论(0) 推荐(0)
摘要:*****HMViewController.m#import "HMViewController.h"#import "HMFriendsGroupModel.h"#import "HMFriendsModel.h"#import "HMHeaderView.h"@interface HMViewC... 阅读全文
posted @ 2015-08-15 11:05 iso 阅读(233) 评论(0) 推荐(0)
摘要:#import #import "Person.h"#import "XQCompany.h"int main(int argc, const char * argv[]){ @autoreleasepool { //初始化两个机构 XQCompany *za = ... 阅读全文
posted @ 2015-08-15 11:03 iso 阅读(268) 评论(0) 推荐(0)
摘要:***********controller.m#import "HMViewController.h"#import "HMMessageModel.h"#import "HMMessageCell.h"#import "HMMessageFrameModel.h"@interface HMView... 阅读全文
posted @ 2015-08-15 10:58 iso 阅读(670) 评论(0) 推荐(0)
摘要:/// 控制层#import "HMViewController.h"#import "HMMessageModel.h"#import "HMMessageCell.h"#import "HMMessageFrameModel.h"@interface HMViewController ()@pr... 阅读全文
posted @ 2015-08-15 10:37 iso 阅读(345) 评论(0) 推荐(0)
摘要:***********#import "HMViewController.h"#import "HMStatus.h"#import "HMStatusCell.h"#import "HMStatusFrame.h"@interface HMViewController ()/** 保存status... 阅读全文
posted @ 2015-08-11 17:36 iso 阅读(433) 评论(0) 推荐(0)