12 2013 档案

摘要:http://www.devdiv.com/iOS_iPhone-ios_-thread-203633-1-1.html 阅读全文
posted @ 2013-12-29 15:32 leevaboo 阅读(114) 评论(0) 推荐(0)
摘要:用SQL语句添加删除修改字段1.增加字段alter table docdsp add dspcode char(200)2.删除字段ALTER TABLE table_NAME DROP COLUMN column_NAME3.修改字段类型ALTER TABLE table_name ALTER COLUMN column_name new_data_type4.sp_rename 改名更改当前数据库中用户创建对象(如表、列或用户定义数据类型)的名称。语法sp_rename [ @objname = ] 'object_name' ,[ @newname = ] 'ne 阅读全文
posted @ 2013-12-28 15:30 leevaboo 阅读(1118) 评论(0) 推荐(0)
摘要:介绍完了服务器,这篇我们就要介绍重点了,写我们自己的IOS客户端程序先看一下我们完成的效果图首先下载xmppframework这个框架,下载点ZIP下载接下来,用Xcode新建一个工程将以下这些文件拖入新建工程中加入framework并设置到这里我们就全部设好了,跑一下试试,看有没有错呢如果没有错的话,我们的xmppframework就加入成功了。我们设置我们的页面如下图:我们的KKViewController.h[java]view plaincopy#import@interfaceKKViewController:UIViewController@property(strong,non 阅读全文
posted @ 2013-12-27 20:49 leevaboo 阅读(166) 评论(0) 推荐(0)
摘要:-------------添加设备到provisioning-------------1,登陆https://developer.apple.com/devcenter/ios/index.action图1:2,右侧菜单选择“iOS provisioning portal”(必须开发者账号才能看到这个菜单)图2:3,在device菜单中点击add device,然后输入设备名称(自定义)和设备的UUID(itunes中可以查到),然后submit。图3:4,在provisioning菜单点击要添加设备的provisioning的edit选项。5,在edit页面中勾选刚添加的设备,提交。这样就为 阅读全文
posted @ 2013-12-25 09:29 leevaboo 阅读(256) 评论(0) 推荐(0)
摘要:显示隐藏某个文件夹chflags nohidden 文件夹路径;chflags hidden 文件夹路径显示隐藏所以文件defaults write com.apple.finder AppleShowAllFiles -bool truedefaults write com.apple.finder AppleShowAllFiles -bool false 阅读全文
posted @ 2013-12-22 11:40 leevaboo 阅读(139) 评论(0) 推荐(0)
摘要:在 4.0 之后,系统就有了它自己的类(NSRegularExpression,NSRegularExpression)来使用正则表达式,,之前都是要添加第三方类库 RegexKitLite 来使用这两个类的简单使用:[cpp]view plaincopyNSString*str=@"3sdfh*odsi";//匹配第一个字符是数字NSRegularExpression*regex1=[NSRegularExpressionregularExpressionWithPattern:@"\\b\\d.*"options:0error:nil];if(reg 阅读全文
posted @ 2013-12-17 11:39 leevaboo 阅读(137) 评论(0) 推荐(0)
摘要:userArray = [[NSMutableArrayalloc] initWithContentsOfFile:[[NSBundlemainBundle] pathForResource:@"UserList"ofType:@"plist"]]; 阅读全文
posted @ 2013-12-17 10:46 leevaboo 阅读(142) 评论(0) 推荐(0)