摘要: /*** Method About : set percentArray and budgetNameArray from a dictionary By oder Parameters : 1. (NSMutableDictionary *) Return : void */ 阅读全文
posted @ 2012-08-09 11:43 zander 阅读(134) 评论(0) 推荐(0)
摘要: NSMutableArray 这家或[dictionary allKeys];[dictionary allValues] ;//取出的数据和 NSMultableArray 中的顺序是不一致的ok不知知道是怎么排序的但是 每次取出的这两个数组顺序都一样ok 阅读全文
posted @ 2012-08-09 11:23 zander 阅读(131) 评论(0) 推荐(0)
摘要: 方法:利用预编译 宏定义方案1:在pch 中定义一个宏 VERSION_FREE 来代表 免费版 方案2:targets文件中定义一个宏 中(一个版本对应一个targets 文件:这个文件里边定义着我们应用的图标 名字 ...参数) 发布的时候 一个项目按照一个targets 文件来发布的 ok 在targets 文件中定义宏:在项目的targets文件的 Build Setting 中 搜索macros(宏)ok 你会看到一个 Apple LLVM cpmpiler x.x - Preprocessing --> Preprocessor Macros (预编译宏)ok 这... 阅读全文
posted @ 2012-08-09 10:24 zander 阅读(1931) 评论(0) 推荐(0)
摘要: imageView.userInteractionEnabled = NO; //imageView的这个属性默认是 NO :用户不可操作的 阅读全文
posted @ 2012-08-09 10:00 zander 阅读(144) 评论(0) 推荐(0)