All Projects → kealdishx → Icmethoddigger

kealdishx / Icmethoddigger

Licence: mit
An easy way to print almost methods including private methods (supported arm64 architecture devices).

Projects that are alternatives of or similar to Icmethoddigger

Anymethodlog
Log any method call of object in Objective-C
Stars: ✭ 361 (+250.49%)
Mutual labels:  hook, log, runtime
Nova Tail Tool
A Laravel Nova tool to display the application log
Stars: ✭ 110 (+6.8%)
Mutual labels:  log, tool
Tinyconsole
📱💬🚦 TinyConsole is a micro-console that can help you log and display information inside an iOS application, where having a connection to a development computer is not possible.
Stars: ✭ 1,929 (+1772.82%)
Mutual labels:  log, tool
Swifthook
A library to hook methods in Swift and Objective-C.
Stars: ✭ 93 (-9.71%)
Mutual labels:  hook, runtime
Git2json
Simple tool to get a JSON from your git log.
Stars: ✭ 18 (-82.52%)
Mutual labels:  log, tool
CJMethodLog
Objective-C 函数日志监听系统,可监听任意类,任意类的任意方法的调用日志。
Stars: ✭ 26 (-74.76%)
Mutual labels:  log, runtime
Spirit
🙌 Play Spirit animations on the web
Stars: ✭ 719 (+598.06%)
Mutual labels:  runtime, tool
Hzdtf.foundation.framework
基础框架系统,支持.NET和.NET Core平台,语言:C#,DB支持MySql和SqlServer,主要功能有抽象持久化、服务层,将业务基本的增删改查抽离复用;提供代码生成器从DB生成实体、持久化、服务以及MVC控制器,每层依赖接口,并需要在客户端将对应实现层用Autofac程序集依赖注入,用AOP提供日志跟踪、事务、模型验证等。对Autofac、Redis、RabbitMQ封装扩展;DB访问提供自动主从访问,Redis客户端分区。特别适合管理系统。
Stars: ✭ 22 (-78.64%)
Mutual labels:  log, tool
Dart Code Metrics
Software analytics tool that helps developers analyse and improve software quality.
Stars: ✭ 96 (-6.8%)
Mutual labels:  tool
Evntouchiddemo
🆔 iOS fingerprint login process implementation
Stars: ✭ 98 (-4.85%)
Mutual labels:  tool
Go Mygen
Quickly generate CURD and documentation for operating MYSQL.etc
Stars: ✭ 94 (-8.74%)
Mutual labels:  tool
Rundeck Cli
CLI tool for Rundeck
Stars: ✭ 98 (-4.85%)
Mutual labels:  tool
Curl2httpie
covert command arguments between cURL and HTTPie
Stars: ✭ 92 (-10.68%)
Mutual labels:  tool
Gohook
GoHook, Go global keyboard and mouse listener hook
Stars: ✭ 94 (-8.74%)
Mutual labels:  hook
Redis Cui
Simple, visual command line tool for redis
Stars: ✭ 101 (-1.94%)
Mutual labels:  tool
Matrix Commander
simple but convenient CLI-based Matrix client app for sending and receiving
Stars: ✭ 90 (-12.62%)
Mutual labels:  tool
Npm Try
🚆 Quickly try npm packages without writing boilerplate code.
Stars: ✭ 103 (+0%)
Mutual labels:  tool
Suohai
Audio input/output source lock/switcher for macOS.
Stars: ✭ 100 (-2.91%)
Mutual labels:  tool
React Swipeable
React swipe event handler hook
Stars: ✭ 1,348 (+1208.74%)
Mutual labels:  hook
Scelight
The source code of the Scelight project with all its modules.
Stars: ✭ 97 (-5.83%)
Mutual labels:  tool

ICMethodDigger 中文说明

An easy way to print almost methods including private methods (supported arm64 architecture devices).

Requirements

  • iOS 8.0+
  • arm64 Device

Installation

Pod

pod 'ICMethodDigger'
Manually

Drag all files under Source folder to your project, and set build architecture to arm64.

Usage

1. import ICMethodDigger.h to your target file like this:

#import "ICMethodDigger.h"

2. call icm_logMethod method to log what you want:

FOUNDATION_EXTERN void icm_logMethod(Class cls, ICConditionBlock condition, _Nullable ICBeforeBlock before, _Nullable ICAfterBlock after);
  • log all methods of target class
icm_logMethod([ViewController class], ^BOOL(SEL sel) {
		NSLog(@"%@", NSStringFromSelector(sel));
		return NO;
	}, nil, nil);
  • log methods of target class at running
icm_logMethod([ViewController class], ^BOOL(SEL sel) {
		NSLog(@"%@", NSStringFromSelector(sel));
		return YES;
	}, nil, nil);
  • log cost time of method
icm_logMethod([UIViewController class], ^BOOL(SEL sel) {
		return YES;
	}, nil, ^(id target, SEL sel, NSArray *args, NSTimeInterval interval, id retValue) {
		NSLog(@"target:%@ sel:%@ interval: %f", target, NSStringFromSelector(sel), interval);
	});

3. Connect arm64 device to your project, and then build and run.

Contributing

Issues and pull requests are welcome!

Acknowledgements

LICENSE

ICMethodDigger is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].