摘要: 工程截图:ViewController.h//// ViewController.h// NSXMLParserDemo//// Created by Fox on 12-3-15.// Copyright (c) 2012年 __MyCompanyName__. All rights reserved.//#import <UIKit/UIKit.h>@interface ViewController : UIViewController<NSXMLParserDelegate>- (void)parseXMLFileAtURL:(NSURL *)URL parseE 阅读全文
posted @ 2012-03-15 22:17 FoxBabe 阅读(412) 评论(1) 推荐(1) 编辑
摘要: 通过Reachability来判断设备的网络环境,方法比较简单。直接将Reachability.h和Reachability.m加入到工程中,然后添加SystemConfiguration.framework框架,就可以使用了。工程截图:ViewController.h//// ViewController.h// NetworkStatusDemo//// Created by Fox on 12-3-15.// Copyright (c) 2012年 __MyCompanyName__. All rights reserved.//#import <UIKit/UIKit.h> 阅读全文
posted @ 2012-03-15 16:25 FoxBabe 阅读(1163) 评论(0) 推荐(0) 编辑
摘要: 该工程是使用苹果官方的GameKit框架来实现蓝牙设别之间的通信,首先当然是要在项目中加入GameKit.framework框架。工程的截图如下:ViewController.h如下://// ViewController.h// GameKitDemo//// Created by Fox on 12-3-14.// Copyright (c) 2012年 __MyCompanyName__. All rights reserved.//#import <UIKit/UIKit.h>#import <GameKit/GKSession.h>#import <Ga 阅读全文
posted @ 2012-03-15 14:27 FoxBabe 阅读(5575) 评论(0) 推荐(1) 编辑