摘要: #import "AppDelegate.h"#import "GexinSdk.h"#import "ViewController.h"@interface AppDelegate (){ GexinSdk *_gexinSdk;}@end@implementation AppDelegate/... 阅读全文
posted @ 2015-06-05 09:18 江南花印孓 阅读(321) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController2.h"#import @interface ViewController2 (){ UITextField *_textFile; AMapSearchAPI *_search; AMapPlaceSearchRequest *_poiReque... 阅读全文
posted @ 2015-06-04 16:55 江南花印孓 阅读(376) 评论(0) 推荐(0) 编辑
摘要: 按照说明稳定获取apiKey 引用11个库文件,#import "ViewController.h"#import @interface ViewController (){ MAMapView *_mapView; CLLocation *_userLocation;}@end- (void)... 阅读全文
posted @ 2015-06-04 15:44 江南花印孓 阅读(165) 评论(0) 推荐(0) 编辑
摘要: //Student 类是NSManagedObject类// Person 是个表 是Core Data 里边的Data Model 。 如果已经创建过了,可以直接选NSManagedObject subclass// ////#import "ViewController.h"#import "... 阅读全文
posted @ 2015-06-04 11:34 江南花印孓 阅读(142) 评论(0) 推荐(0) 编辑
摘要: XML解析类似于json解析,其原理都是一样的。只是XML这里用GDataXMLNode 谷歌的一个轻量级的xml解析库GData作为一个三方库引入引入头文件#import "GDataXMLNode.h"//NSData数据下载完成以后的处理过程GDataXMLDocument *document... 阅读全文
posted @ 2015-06-04 09:58 江南花印孓 阅读(114) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController.h"//记得添加AVFoundation框架,另外,二维码扫描需要硬件摄像头的支持,所以只能真机运行。模拟器获取不到信息#import @interface ViewController ()@property(nonatomic,strong)AVC... 阅读全文
posted @ 2015-06-04 09:27 江南花印孓 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 1、 同步GET请求//第一步,创建URLNSURL *url = [NSURL URLWithString:@"http://api.hudong.com/iphonexml.do?type=focus-c"];//第二步,通过URL创建网络请求NSURLRequest *request = [[... 阅读全文
posted @ 2015-05-27 09:35 江南花印孓 阅读(321) 评论(0) 推荐(0) 编辑
摘要: OneV‘s Den在博客里出了10道iOS面试题,用他的话是:"列出了十个应聘Leader级别的高级Cocoa/CocoaTouch开发工程师所应该掌握和理解的技术" 。在这里給一份我的答案。 1. 你使用过Objective-C的运行时编程(Runtime Programming)么?如果使用过... 阅读全文
posted @ 2015-05-20 14:10 江南花印孓 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 只能在真机使用.模拟器没有E-mail发送功能.无法调用#import "EmailViewController.h"#import #import @interface EmailViewController ()@end@implementation EmailViewController- (... 阅读全文
posted @ 2015-05-20 14:08 江南花印孓 阅读(182) 评论(0) 推荐(0) 编辑