Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2441541
  • 博文数量: 328
  • 博客积分: 4302
  • 博客等级: 上校
  • 技术积分: 5486
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-01 11:14
个人简介

悲剧,绝对的悲剧,悲剧中的悲剧。

文章分类

全部博文(328)

文章存档

2017年(6)

2016年(18)

2015年(28)

2014年(73)

2013年(62)

2012年(58)

2011年(55)

2010年(28)

发布时间:2017-07-12 22:13:08

To get the memory#import <mach/mach.h>// ...void report_memory(void) {  struct task_basic_info info;  mach_msg_type_number_t size = sizeof(info);  kern_return_t kerr = task_info(mach_ta.........【阅读全文】

阅读(1335) | 评论(0) | 转发(0)

发布时间:2017-03-23 01:47:06

For example, let’s say we wanted to track how many times each view controller is presented to a user in an iOS app:Fortunately, there is another way: method swizzling from a category. Here’s how to do it:In computer science, pointer swizzling is the conversion of .........【阅读全文】

阅读(1553) | 评论(0) | 转发(0)

发布时间:2016-11-04 04:01:38

PlistBuddy [-cxh] file.plist Some of the configuration files in OS X (found in /System/Library/LaunchDaemons , etc) are in xml format (for example ftp.plist, (as of 10.9.5 233 XML, 21 binary), which can be edited with a text editor.The "Apple binary property list" ones must be .........【阅读全文】

阅读(3414) | 评论(0) | 转发(0)

发布时间:2016-10-18 23:52:35

Step 1: Download, install, and launch Charles. Click Grant Privileges and enter your administrator password.Step 3: Right-click on the “buy” server and click Enable SSL ProxyingStep 5: Search for the app again in iTunes to bring up the details page, and download the .........【阅读全文】

阅读(3622) | 评论(0) | 转发(0)

发布时间:2016-04-27 00:04:16

Restart DNSsudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plistsudo launchctl load -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist#!/bin/sh     echo ======================.........【阅读全文】

阅读(1588) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册