iPhone开发常用小技巧
来源:互联网 发布:理解linux内核 编辑:程序博客网 时间:2024/05/18 00:53
一、开启文件共享
添加Info.plist字段Application supports iTunes file sharing,设为yes
二、如何在NSMutableDictionary中放入NSInteger
NSMutableDictionary中只能放入对象,不能放入基本类型,这一点请参考java的Map系列。。。 然则NSInteger。。不是对象。。。。NSNumber才是,所以应该这样放的:
NSInteger aInteger;
NSMutableDictionary *dic=[[NSMutableDictionary alloc] initWithCapacity:10];
[dic setObject:[NSNumber numberWithInteger:aInteger] forKey:@"TheKey"];
- iPhone开发常用小技巧
- iphone开发小技巧
- iPhone开发小技巧
- iphone开发小技巧
- iPhone开发小技巧
- iPhone开发小技巧
- [转]Iphone 开发小技巧
- iPhone开发小技巧集合
- iphone开发小技巧汇总
- iphone开发小技巧汇总
- iPhone开发一些小技巧
- [IPhone开发]NSString常用技巧
- iphone开发中的一些小技巧
- 转:iphone开发中的一些小技巧
- iphone开发中的一些小技巧
- iphone开发中的一些小技巧
- iphone开发中的一些小技巧
- iPhone 开发的一些小技巧
- 1.Struts的<action input=""></action>:界面
- HDU 3629 Convex(10年天津,计算几何)
- 【iPhone代码片段之六】代码(不使用xib)创建UIWebView
- 模2运算原理
- hdu 1114 Piggy-Bank
- iPhone开发常用小技巧
- 基于IPSec的VPN技术原理与实现
- 最小路径覆盖
- Android 动画
- usaco Cow Tours
- powerdisinger 将name复制到comment
- CI-Based Web Service Error:UserName not defined in database
- 一篇不错的关于VSS的入门介绍
- 转贴:使用GetDIBts/SetDIBits高速逐点处理