会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
 Sportica
 Sportica
qingjoin
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
4
5
6
7
8
9
10
11
12
···
26
下一页
2013年12月11日
$(inherited) "$(SRCROOT) 修改.a文件的路径 --Library Search Paths
摘要: $(inherited) "$(SRCROOT)/.a文件所在的文件名"//如果有多个.a文件格式就像这样$(inherited) "$(SRCROOT)/xxxx" "$(SRCROOT)/xx"如果取的是相对是绝对路径那么工程移到别的地方就有可能导致运行出错。所以要改成相对路径
阅读全文
posted @ 2013-12-11 16:42 qingjoin
阅读(11070)
评论(0)
推荐(0)
2013年11月22日
NSDictionary to jsonString || 对象转json格式
摘要: NSDictionary to jsonString [self DataTOjsonString:dic]-(NSString*)DataTOjsonString:(id)object{ NSString *jsonString = nil; NSError *error; NSData *jsonData = [NSJSONSerialization dataWithJSONObject:object options:NSJSONWritingPrettyPrint...
阅读全文
posted @ 2013-11-22 10:31 qingjoin
阅读(38336)
评论(0)
推荐(0)
2013年11月12日
iOS 动画效果。简单的提示消失
摘要: UILabel * label1 = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 320, 30)]; label1.text = @"qingjoin"; [self.view addSubview:label1]; [UIView beginAnimations:nil context:nil]; [UIView setAnimationCurve:UIViewAnimationCurveEaseIn]; [UIView setAnimationDuration:3.0]; ...
阅读全文
posted @ 2013-11-12 13:41 qingjoin
阅读(3005)
评论(0)
推荐(0)
2013年10月29日
NSMutableURLRequest Http 请求 同步 异步
摘要: #pragma mark get country code//同步-(void)getFKjsonCountryCode{ dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ NSString *urlString = [NSString stringWithFormat:@"http://www.baidu.com"]; NSMutableURLRequest *request = [[[NSMutableURLRequest al...
阅读全文
posted @ 2013-10-29 13:35 qingjoin
阅读(1962)
评论(0)
推荐(0)
2013年10月28日
ios Url Encode
摘要: //ios Url Encode //有时候在请求的参数里里特殊符号比如“+”等。而如果没有encode的话那么传过去的还是” ”,面实际上是%2B。-(NSString*)UrlValueEncode:(NSString*)str{ NSString *result = (NSString *)CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault, (CFS...
阅读全文
posted @ 2013-10-28 11:26 qingjoin
阅读(3073)
评论(0)
推荐(0)
2013年10月12日
Xcode missing file or .png is missing from working copy
摘要: 当不小心在工程文件中删掉文件时。有可能会提示.xxx is missing from working copy有可能是SVN引起的。删掉这个文件就好了如果是单个文件。进入Terminal 相应的路径,svn delete XXX批量删除这时候我们打开Terminal(终端) 输入cd 空格 然后把在网上工程到Terminal 回车输入命令行rm-rf`find.-typed-name.svn`then the worning is missed ...
阅读全文
posted @ 2013-10-12 13:29 qingjoin
阅读(1274)
评论(0)
推荐(0)
2013年10月9日
iOS DES 加密转base64
摘要: //用法 加密转base 64NSString *str = [self base64StringFromText:@"qingjoin" withKey:@"key"];//转base 64 解密 NSString *stred = [self textFromBase64String:str withKey:@"key"];//文本先进行DES加密。然后再转成base64+ (NSString *)base64StringFromText:(NSString *)text withKey:(NSString*)key{ if (t
阅读全文
posted @ 2013-10-09 12:06 qingjoin
阅读(619)
评论(0)
推荐(0)
2013年9月30日
iOS DES ECB 模式加密
摘要: //iOS DES ECB 模式加密 #importstatic Byte iv[] = {1,2,3,4,5,6,7,8};+(NSString *) encryptUseDES:(NSString *)plainText key:(NSString *)key { NSString *ciphertext = nil; const char *textBytes = [plainText UTF8String]; NSUInteger dataLength = [plainText length]; ...
阅读全文
posted @ 2013-09-30 17:10 qingjoin
阅读(3002)
评论(0)
推荐(0)
2013年9月24日
iOS 画虚线
摘要: UIImageView *imageView1 = [[UIImageView alloc]initWithFrame:CGRectMake(0, 100, 320, 20)]; [self.view addSubview:imageView1]; UIGraphicsBeginImageContext(imageView1.frame.size); //开始画线 [imageView1.image drawInRect:CGRectMake(0, 0, imageView1.frame.size.width, imageView1.frame.size....
阅读全文
posted @ 2013-09-24 18:29 qingjoin
阅读(16522)
评论(2)
推荐(0)
UIFont字体大全
摘要: 原文地址:UIFont 设置字体作者:青竹居士 http://deep-fish.iteye.com/blog/1678874UIFont 设置字体1 label.font = [UIFont fontWithName:@"Arial-BoldItalicMT" size:24];字体名如下:Font Family: American TypewriterFont: AmericanTypewriterFont: AmericanTypewriter-BoldFont Family: AppleGothicFont: AppleGothicFont Family: Aria
阅读全文
posted @ 2013-09-24 16:00 qingjoin
阅读(10656)
评论(1)
推荐(1)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
26
下一页
公告
 Sportica