`
re_reference
  • 浏览: 233995 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
原帖地址:http://stackoverflow.com/questions/8547201/xcode-error-failed-to-launch I encounter this problem every once in a while. Like the others mentioned, these are the steps I take: 1. Clean (Shift+Cmd+K) ------ Removes all the product files, as well as any object files (.o files) or other intermedia ...
https://gist.github.com/3180771 git clone git@gist.github.com:3180771.git # # iOS 友盟发布渠道自动化脚本 # # - 在 Archive 的 "Post-action" 添加脚本去执行 "/bin/sh $SRCROOT/package.sh" # - 确保在 "Provide build setting from" 选择了当前的 App # - 在项目根目录($SRCROOT)添加 "iTunesArtwork" ...
International prefix: http://wikitravel.org/en/International_dialling_prefix Country code: http://wikitravel.org/en/List_of_country_calling_codes 下面地址是全世界两百多个国家的国家代码表 http://ishare.iask.sina.com.cn/f/13427370.html
//mask方法 + (UIImage*) maskImage:(UIImage*)image withMask:(UIImage*)mask { CGImageRef imgRef = [image CGImage]; CGImageRef maskRef = [mask CGImage]; CGImageRef actualMask = CGImageMaskCreate(CGImageGetWidth(maskRef), CGImageGetHeight(maskRef), CGImageGetBitsPerCo ...
1。mac 软件下载地址:http://www.macupdate.com/
一、什么是字符集?什么是编码? 字符(Character)是文字与符号的总称,包括文字、图形符号、数学符号等。 一组抽象字符的集合就是字符集(Charset)。 字符集常常和一种具体的语言文字对应起来,该文字中的所有字符或者大部分常用字符就构成了该文字的字符集,比如英文字符集。 一组有共同特征的字符也可以组成字符集,比如繁体汉字字符集、日文汉字字符集。 字符集的子集也是字符集。 计算机要处理各种字符,就需要将字符和二进制内码对应起来,这种对应关系就是字符编码(Encoding)。 制定编码首先要确定字符集,并将字符集内的字符排序,然后和二进制数字对应起来。根据字符集内字符的多少 ...
1、确定你的项目工程的resouce下有你要用的字体文件(.ttf,.odf)。 2、然后在你的工程的Info.plist文件中新建一行(Add Row),添加key为:UIAppFonts(在我的机子上尝试了,它会自动转换成Fonts provided by application),类型为Array或Dictionary都行;添加Value为XXX.ttf(你字体的名字)。忘说了,是在建立的UIAppFonts再建一对键值对,key为Item 0,值为xxxx.ttf。是这样,可以添加多个,使用的时候写对应字体名字就行。 3、 NSArray *familyNames =[[N ...
Verify that the entitlements in the provisioning-profile file are correct. To do this, open the .mobileprovision file in a text editor. The contents of the file are structured in XML. In the Entitlements dictionary locate the aps-environment key. For a development provisioning profile, the string v ...
转自:http://blog.csdn.net/ch_soft/article/details/7381976 整理一些网络资源 第一部分 之前公司做的是音乐播放器,用到了AudioToolbox这个音频接口,总结下,希望对需要的朋友有帮助。AudioToolbox这个库是C的接口,偏向于底层,用于在线流媒体音乐的播放,可以调用该库的相关接口自己封装一个在线播放器类,AudioStreamer是老外封装的一个播放器类,有兴趣的朋友可以研究下。       其实IOS库中有两个可以播放在线音乐的播放器类,AVPlayer和MPMusicPlayerController 这两个做简单的 ...
1.快速配置表格,不需要写很多item https://github.com/escoz/quickdialog https://github.com/migueldeicaza/MonoTouch.Dialog http://escoz.com/open-source/quickdialog 2.开源项目 http://www.cnblogs.com/likwo/archive/2011/03/13/1982707.html 3.FXLabel https://github.com/nicklockwood/FXLabel 4.JSON 解析 http://www.cocoanetics ...
强烈建议使用 (NSString *)CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault,(CFStringRef)string,NULL,CFSTR("!*'();:@&=+$,/?%#[]"),kCFStringEncodingUTF8); 替换 stringByAddingPercentEscapesUsingEncoding: 在 iOS 程序访问 HTTP 资源时需要对 URL 进行 Encode ...
//检测内存 void report_memory(void) { static unsigned last_resident_size=0; static unsigned greatest = 0; static unsigned last_greatest = 0; struct task_basic_info info; mach_msg_type_number_t size = sizeof(info); kern_return_t kerr = task_info(mach_task_self(), ...
看代码,直接可以用。
使用coreData无非就是增删改查,并非想象的那么复杂。本例子旨在对core data的使用流程有个清晰的认识。多的不说,都在例子里。
问题:UITableViewCell的重绘机制导致的列状态问题 环境:XCode4.2,低版本也会出现 场景:自定义UITableViewCell,使用复用cell方法,在UITableView滚动时,内容被覆盖,或者没有被刷新,或者选择时内容覆盖,或者设置cell的背景透明时,内容重叠在一起,或者图片控件出现覆盖,显示不全等问题。 原因:引起这个问题的主要原因是,重用cell。之前cell上的内容未被清空,而又增加新增内容所致。 解决方案:在使用cell时,首先删除cell上的view,代码如下。 static NSString *identifier = @"Fanmeli ...
Global site tag (gtag.js) - Google Analytics