码迷,mamicode.com
首页 >  
搜索关键字:ios swift    ( 61170个结果
最新模仿ios版微信应用源码
最新模仿ios版微信应用源码
分类:微信   时间:2014-04-30 03:53:57    阅读次数:1081
iOS 32位、 64位系统兼容性设置-Xcode创建支持IOS4.3以上版本的应用的方法
方法一:如果是Xcode 5的话步骤为 点击项目名称->Build Settings->搜索 Architectures 这个里面的原始的值是Standard architectures(armv7,armv7s,arm64) 点击这个值,在下拉列表框中选择Standard architecture...
分类:移动开发   时间:2014-04-30 03:50:54    阅读次数:671
iOS 中 #error宏 的使用的一个例子
头文件中如下定义宏:/** * @brief 默认空间名(必填项) */#error 必填项#define DEFAULT_BUCKET @""/** * @brief 默认表单API功能密钥 (必填项) */#error 必填项#define DEFAULT_PASSCODE @...
分类:移动开发   时间:2014-04-28 18:15:07    阅读次数:684
ios-表视图-demo4-内容自己适应高度
#import "RootViewController.h"@interface RootViewController ()@end@implementation RootViewController- (id)initWithNibName:(NSString *)nibNameOrNil bun...
分类:移动开发   时间:2014-04-28 17:25:33    阅读次数:629
ios-表视图-demo3-单选
#import "RootViewController.h"@interface RootViewController ()@end@implementation RootViewController- (id)initWithNibName:(NSString *)nibNameOrNil bun...
分类:移动开发   时间:2014-04-28 17:19:46    阅读次数:596
iOS 小知识-tips
--->12\n%@", [[NSString stringWithUTF8String:__FILE__] lastPathComponent],__LINE__,__PRETTY_FUNCTION__ , [NSString stringWithFormat:(s), ##__VA_ARGS__...
分类:移动开发   时间:2014-04-28 15:19:16    阅读次数:579
ios-表视图-demo5-索引
#import "RootViewController.h"@interface RootViewController ()@end@implementation RootViewController- (id)initWithNibName:(NSString *)nibNameOrNil bun...
分类:移动开发   时间:2014-04-28 15:11:25    阅读次数:656
ios:CGContextRef 渲染中文问题
1.项目中遇到drawRect来渲染中文,但是调用CGContextShowTextAtPoint方法失败,于是查了些资料整理总结一下2.既然apple能显示中文,那么自然也是支持中文的。查看所有字体:NSArray *fontFamilies = [UIFontfamilyNames];for(N...
分类:移动开发   时间:2014-04-28 13:52:50    阅读次数:550
IOS中的多线程【二】— NSOperation和NSOperationQueue
NSOperationQueue是一套基于Objective-c语言的API。GCD与NSOperationQueue的优缺点:NSOperationQueue:比较安全GCD:没有NSOperationQueue安全,但使用起来简单,快速,还提供了一些操控底层的方法。实际开发中还是以GCD为主。N...
分类:移动开发   时间:2014-04-28 12:06:08    阅读次数:611
n-1位数
n-1位数时间限制:3000 ms | 内存限制:65535 KB难度:1描述已知w是一个大于10但不大于1000000的无符号整数,若w是n(n≥2)位的整数,则求出w的后n-1位的数。输入第一行为M,表示测试数据组数。接下来M行,每行包含一个测试数据。输出输出M行,每行为对应行的n-1位数(忽略...
分类:其他好文   时间:2014-04-28 11:04:50    阅读次数:621
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!