首页 软件开发 代码片段 objective-c ( Page 48 )

objective-c 628

#Objective-C
iOS 搜索框

// // sousuoViewCell.h // 搜索框 // // Created by 曙华软件 on 15/11/11. // Copyright © 2015年 曙华软件…

2015-01-03 713

#Objective-C
单例

+ (instancetype)sharedInstance { static id sharedInstance = nil; static dispatch_once_t on…

2014-12-31 995

#Objective-C
iOS webview开发浏览器,屏蔽地址栏无关地址

- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request na…

2014-12-31 210

#Objective-C
使用CoreImage进行人脸识别

- (BOOL)checkImageHasFace { BOOL hasFace = NO; CIImage *begingImage = [[CIImage alloc] ini…

2014-12-31 761

#Objective-C
IOS下计算日期时间间隔

IOS下计算日期时间间隔: //创建日期格式化对象 NSDateFormatter *dateFormatter=[[NSDateFormatter alloc] init]; […

2014-12-31 244

#Objective-C
iOS 通知传值

//设置通知 //获取通知中心 NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; //通知中心 发送…

2014-12-30 713

#Objective-C
重写导航栏左按钮

// // NextViewController.m // HXAandind // // Created by xushuanghui on 15-3-23. // Copyri…

2014-12-28 789

#Objective-C
数字转字符串,带千位符(逗号)

- (NSString*) numberToMathString:(float) num { NSArray * array = [[NSString stringWithForm…

2014-12-25 477

#Objective-C
音乐播放器

#import "ZJViewController.h" #import "ZjMusic.h" @interface ZJViewController ()<AVAudio…

2014-12-24 627

#Objective-C
时间加减比较

NSDate *update = [[NSUserDefaults standardUserDefaults] objectForKey:APP_UPDATE_TIME]; CGF…

2014-12-21 265

#Objective-C
textField通知事件iOS

//设置通知 [[NSNotificationCenter defaultCenter]addObserver:self selector:@selector (textField…

2014-12-20 543
1 46 47 48 49 50 53