![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
object_c
来根黄鹤楼吖
这个作者很懒,什么都没留下…
展开
-
Reachability 网络监测
import “Reachability.h”下载第三方包 引入头文件初始化 reachabilty self.reachability = [Reachability reachabilityForInternetConnection];** [[NSNotificationCenter defaultCenter ]addObserver:self selector:@sel...原创 2018-08-15 15:42:37 · 195 阅读 · 0 评论 -
SDK快速上手
1,cocoaPods 导入 pod ‘UMCCommon’ pod ‘UMCAnalytics’ pod ‘UMCSecurityPlugins’ 2, https://developer.umeng.com/sdk 友盟 上面下载 ios 的SDK集成 3,http://wiki.mob.com/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90/ 各种...原创 2018-09-02 18:20:19 · 432 阅读 · 0 评论 -
快速上手 语言
在工程中 option+command+n 创建一个文件夹命名为 SDK 把SDK文件拖拽到 工程的SDK文件夹内 (124) (编译后会有18个报错) 关闭arc : 点击工程的第一个蓝文件(你的工程名) 然后依次点击 Build Phases -> Compile Soures -> JSONKit.m 添加 -fno-objc-arc (这个时候编译 , 没有报错) 打开网...原创 2018-09-15 08:31:35 · 144 阅读 · 0 评论 -
XML解析
//导航条右侧按钮的触发方法(void)jiexi{//地址NSURL *url = [NSURL URLWithString:@“http://127.0.0.1/StuClass.xml”];NSData *data = [[NSData alloc] initWithContentsOfURL:url];GDataXMLDocument *doc = [[GDataXMLDoc...原创 2018-11-05 20:36:01 · 96 阅读 · 0 评论 -
标准化XML
<?xml version="1.0" encoding="UTF-8"?><class a_name = "1606D"> <student> <name>俄罗斯</name> <age>18</age>原创 2018-11-05 20:37:20 · 1054 阅读 · 0 评论