iOS
Sedentary
The quieter you becomethe more you are able to hear
展开
-
在Mac OS 10.10和Xcode6的环境下的iOS Simulator的沙盒位置
今天试了一下b原创 2014-07-08 18:56:24 · 10195 阅读 · 3 评论 -
ArcGIS Runtime SDK for iOS中获取ImageServiceLayer的栅格值
在ArcGIS Runtime for iOS开发中,用AGSImageServiceIdentifyTask可以获取ArcGISImageServiceLayer图层中的栅格值。这涉及了三个比较重要的类:AGSImageServiceIdentifyParameters、AGSImageServiceIdentifyTask和AGSImageServiceIdentifyResult,还有一个delegate代理类。本文一一简介,并附有代码原创 2014-07-11 21:41:27 · 1465 阅读 · 0 评论 -
sizeWithFont:constrainedToSize:转boundingRectWithSize:options:
转载 :http://blog.sina.com.cn/s/blog_727bd1560101rde8.htmlCGFloat width1=[(NSString *)ob1 sizeWithFont:[UIFont systemFontOfSize:16] constrainedToSize:CGSizeMake(1000, FONTHEIGHT)].width;转C转载 2014-10-28 02:58:11 · 672 阅读 · 0 评论 -
【投稿】如何找出iOS App的URL Scheme
无特殊说明均为原创文章,转载请注明原始链接 本文链接: http://ikamu.me/8179订阅RSS: http://feeds.feedburner.com/ikamu转载 2014-10-26 23:57:44 · 1298 阅读 · 0 评论 -
在NSString中找到数字转换成int,方法如下。so cool !
原文地址http://www.cocoachina.com/bbs/read.php?tid=84940在NSString中找到数字转换成int,方法如下。so cool ! Question:I have an NSString like so:[pre]@"200hello" [/pre]or[pre]@"0 something" [/pre]What I wo转载 2015-01-29 21:55:03 · 552 阅读 · 0 评论 -
switch case in protected scope 异常解决
case添加{ }后,编译错误可解决。- (void)tabBar:(UITabBar *)tb didSelectItem:(UITabBarItem *)item { switch(item.tag) { case 0: { } break; case 1: {转载 2015-03-31 20:31:56 · 456 阅读 · 0 评论 -
将C语言的char字符串转换为NSString的问题
通常如果的英文的话,可以通过[NSStringstringWithUTF8String:szTitle] ]解决问题,但是如果“\xa1\xb6\xd6\xaa\xb5\xc0\xd7\xf6\xb5\xbd\xa1\xb7”是这样的字符串,就需要下面的代码了 char str[12]={'\xb4','\xfa','\xc2','\xeb','\0','\0原创 2015-03-31 17:47:30 · 944 阅读 · 0 评论 -
Google 各个Level的比例尺与分辨率
Level:0, Scale:591657527.591555, Resolution:156543.033928023Level:1, Scale:295828763.795778, Resolution:78271.5169640117Level:2, Scale:147914381.897889, Resolution:39135.7584820059Level:3, Scale原创 2015-05-05 07:42:42 · 4833 阅读 · 0 评论 -
先看一下 NSArray 是怎么传递 block 参数的
转载自:http://www.cnblogs.com/ihojin/p/block_params.html先看一下 NSArray 是怎么传递 block 参数的...@interface NSArray (NSExtendedArray)…#if NS_BLOCKS_AVAILABLE- (void)enumerateObjectsUsingBlock:(转载 2015-06-14 06:44:04 · 907 阅读 · 0 评论