1.NSBundle
1> 一个NSBundle代表一个文件夹,利用NSBundle能访问对应的文件夹
2> 利用mainBundle就可以访问软件资源包中的任何资源
3> 模拟器应用程序的安装路径 /Users/aplle/资源库/Application Support/iPhone Simulator/7.1/Applications
4>实现懒加载 只加载一次
@proper...
分类:
移动开发 时间:
2014-12-24 01:19:02
阅读次数:
247
1: Xcode 6.1
因为官网很卡,可以上csdn下
2.测试ios simulator
Xcode - open Developer tool - ios simulator
能运行的话,恭喜你成功了第一步。
如果不能运行,果断卸了Xcode装其他版本。
Command + K 调出虚拟键盘
后面再说Xcode的配置...
分类:
移动开发 时间:
2014-12-19 23:25:16
阅读次数:
179
想在Mac中找到模拟器的沙盒路径,有一篇文章写的比较详细。但是,如果你安装了Xcode6,那么按照这篇文章的方法,你是找不到沙盒的。 首先,我引用一下该文章的全文: ? ? 1、模拟器沙盒目录 文件都在个人用户名...
分类:
其他好文 时间:
2014-12-14 13:22:12
阅读次数:
308
环境:xcode6,iphone 4s simulator with iOS8.0一、功能界面介绍1.1 应用启动进入联系人列表页面,数据为模拟数据,来源与一个plist文件:1.2 点击右上角当+按钮时,进入添加页面,页面跳转采用UINavigationController,该页面上左上角当取消按...
分类:
移动开发 时间:
2014-12-14 01:55:59
阅读次数:
367
模拟一个网络环境,该环境中包含两个传输节点s1,s2,路由器r,和资料接收端d.大概如下图所示:源代码:set ns [new Simulator]$ns color 1 Blue$ns color 2 Redset nf [open out.nam w]$ns namtrace-all $nfse...
分类:
其他好文 时间:
2014-12-08 17:25:47
阅读次数:
174
目前在XCode上开发的iOS程序只能在模拟器Simulator中运行,如果要放到真机上测试,需要苹果官方认证的开发者账号,购买开发者证书iDP,99美金一年啊!!!作为刚开始学习iOS编程的菜鸟,这么大手笔花钱实在是肉疼。。。经过一番折腾,借鉴各种大神的帖子,终于成功在真机上编译运行成功!免费的哦...
分类:
移动开发 时间:
2014-11-27 16:05:08
阅读次数:
278
1.NSBundle1> 一个NSBundle代表一个文件夹,利用NSBundle能访问对应的文件夹2> 利用mainBundle就可以访问软件资源包中的任何资源3> 模拟器应用程序的安装路径/Users/aplle/资源库/Application Support/iPhone Simulator/...
分类:
移动开发 时间:
2014-11-25 00:12:25
阅读次数:
240
最近把系统抹盘重装了, 然后用Time Machine恢复到原始状态, 一切安好, 但是使用xcode的时候发现一个模拟器都没有了:各种折腾, 重装SDK啊, 重装xcode啊,最后发现, 如果你的simulator(在/Applications/Xcode/Contents/Developer/A...
分类:
移动开发 时间:
2014-11-24 15:05:37
阅读次数:
231
've tried in a sample project to use standard, @2x and @3x images, and the iPhone 6+ simulator uses the @3x image. So it would seem that there are @3x images to be done (if the simulator actually replicates the device's behavior). But the strange thing is ...
分类:
移动开发 时间:
2014-11-19 01:53:31
阅读次数:
194
1.NSBundle1> 一个NSBundle代表一个文件夹,利用NSBundle能访问对应的文件夹2> 利用mainBundle就可以访问软件资源包中的任何资源3> 模拟器应用程序的安装路径/Users/aplle/资源库/Application Support/iPhone Simulator/...
分类:
其他好文 时间:
2014-11-18 23:48:46
阅读次数:
336