iOS统计代码行数
cd到工程目录
find . "(" -name "*.swift" -or -name "*.xib" ")" -print | xargs wc -l
统计swift和xib的代码行数
cd到工程目录
find . "(" -name "*.swift" -or -name "*.xib" ")" -print | xargs wc -l
统计swift和xib的代码行数
在iOS开发中,经常会用到Charles,但是https的证书装了,还是抓不到包,后来看到Alamofire可以设置免认证https,设置方法如下。let evaluators: ...
今天逆向找了半天,找出在设置里的itunes store与appstore点击登录后显示的登录框。涉及framework有authkit与authkitui.framework其中一个可疑的方法- (...
hook住WCDeviceStepObject和SportDeviceInfo的两个方法就可以了代码如下@interface WCDeviceStepObject : NSObject-(unsign...
终端执行 sudo killall -STOP -c usbd...
这个功能一般用于收藏某段话。import UIKit class ViewController: UIViewController { &n...
打印当前视图层次UIApp.keyWindow.recursiveDescription().toString()获取上级响应者[#id nextResponder]通过这两个代码可以定位当...