博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年7月4日

摘要: Link URL:http://hi.baidu.com/xtianhe/blog/item/1f1bbe1cbd4c411f35fa41a6.htmlNSBundle的对象可以获取应用程序安装目录的附件。附件包括了,当前应用程序下,所有的文件。(图片、属性列表等)获取XML文件NSString *filePath = [[NSBundle mainBundle] pathForResouse:@"re" ofType:@"xml"];NSData *data = [[NSData alloc] initWithContentsOfFile:filePa 阅读全文

posted @ 2011-07-04 23:59 星尘的天空 阅读(198) 评论(0) 推荐(0) 编辑

摘要: LINK ADDRESS:http://linglong117.blog.163.com/blog/static/27714547201011191020643/在实际的开发中,导航器是最重要的容器之一,我们经常要在导航栏中添加各种样式的按钮,添加一个按钮很简单,代码如下图:UIBarButtonItem *anotherButton = [[UIBarButtonItem alloc] initWithTitle:@"Setting" style:UITabBarSystemItemContacts target:self action:@selector(clickSe 阅读全文

posted @ 2011-07-04 23:24 星尘的天空 阅读(336) 评论(0) 推荐(0) 编辑

摘要: LINK ADDRESS:http://www.cnblogs.com/elfsundae/archive/2010/11/11/1874486.htmliPhone起步-2:iPhone常用控件、UIActionSheet、UIAlertView一、UILabel二、UIButton常用事件:Touch Up Inside三、UITextField常用属性:Text:要显示的文本。Placeholder:指定将要在文本字段中以灰色显示的占位符文本。Clear When Editing Begins:用户触摸此字段时是否删除字段中的值。Text Input Traits:文本输入特征。四、UI 阅读全文

posted @ 2011-07-04 23:17 星尘的天空 阅读(266) 评论(0) 推荐(0) 编辑