资源简介
iOS非越狱版 微信自动抢红包,微信修改经纬度
代码片段和文件信息
//
// Aspects.m
// Aspects - A delightful simple library for aspect oriented programming.
//
// Copyright (c) 2014 Peter Steinberger. Licensed under the MIT license.
//
#import “Aspects.h“
#import
#import
#import
#define AspectLog(...)
//#define AspectLog(...) do { NSLog(__VA_ARGS__); }while(0)
#define AspectLogError(...) do { NSLog(__VA_ARGS__); }while(0)
// Block internals.
typedef NS_OPTIONS(int AspectBlockFlags) {
AspectBlockFlagsHasCopyDisposeHelpers = (1 << 25)
AspectBlockFlagsHasSignature = (1 << 30)
};
typedef struct _AspectBlock {
__unused Class isa;
AspectBlockFlags flags;
__unused int reserved;
void (__unused *invoke)(struct _AspectBlock *block ...);
struct {
unsigned long int reserved;
unsigned long int size;
// requires AspectBlockFlagsHasCopyDisposeHelpers
void (*copy)(void *dst const void *src);
void (*dispose)(const void *);
// requires AspectBlockFlagsHasSignature
const char *signature;
const char *layout;
} *descriptor;
// imported variables
} *AspectBlockRef;
@interface AspectInfo : NSobject
- (id)initWithInstance:(__unsafe_unretained id)instance invocation:(NSInvocation *)invocation;
@property (nonatomic unsafe_unretained readonly) id instance;
@property (nonatomic strong readonly) NSArray *arguments;
@property (nonatomic strong readonly) NSInvocation *originalInvocation;
@end
// Tracks a single aspect.
@interface AspectIdentifier : NSobject
+ (instancetype)identifierWithSelector:(SEL)selector object:(id)object options:(AspectOptions)options block:(id)block error:(NSError **)error;
- (BOOL)invokeWithInfo:(id)info;
@property (nonatomic assign) SEL selector;
@property (nonatomic strong) id block;
@property (nonatomic strong) NSMethodSignature *blockSignature;
@property (nonatomic weak) id object;
@property (nonatomic assign) AspectOptions options;
@end
// Tracks all aspects for an object/class.
@interface AspectsContainer : NSobject
- (void)addAspect:(AspectIdentifier *)aspect withOptions:(AspectOptions)injectPosition;
- (BOOL)removeAspect:(id)aspect;
- (BOOL)hasAspects;
@property (atomic copy) NSArray *beforeAspects;
@property (atomic copy) NSArray *insteadAspects;
@property (atomic copy) NSArray *afterAspects;
@end
@interface AspectTracker : NSobject
- (id)initWithTrackedClass:(Class)trackedClass;
@property (nonatomic strong) Class trackedClass;
@property (nonatomic readonly) NSString *trackedClassName;
@property (nonatomic strong) NSMutableSet *selectorNames;
@property (nonatomic strong) NSMutableDictionary *selectorNamesToSubclassTrackers;
- (void)addSubclassTracker:(AspectTracker *)subclassTracker hookingSelectorName:(NSString *)selectorName;
- (void)removeSubclassTracker:(AspectTracker *)subclassTracker hookingSelectorName:(NSString *)selectorName;
- (BOOL)subclassHasHookedSelectorName:(NSString *)selectorName;
- (NSSet *)subclassTrackersHookingSelectorName:(NSString *)selectorN
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-01-22 06:11 weweChatAssitant-master\
文件 1467 2017-01-22 06:11 weweChatAssitant-master\.gitignore
文件 3356 2017-01-22 06:11 weweChatAssitant-master\README.md
目录 0 2017-01-22 06:11 weweChatAssitant-master\TestTweak.xcodeproj\
文件 24174 2017-01-22 06:11 weweChatAssitant-master\TestTweak.xcodeproj\project.pbxproj
目录 0 2017-01-22 06:11 weweChatAssitant-master\TestTweak.xcodeproj\project.xcworkspace\
文件 154 2017-01-22 06:11 weweChatAssitant-master\TestTweak.xcodeproj\project.xcworkspace\contents.xcworkspacedata
目录 0 2017-01-22 06:11 weweChatAssitant-master\TestTweak.xcodeproj\xcuserdata\
目录 0 2017-01-22 06:11 weweChatAssitant-master\TestTweak.xcodeproj\xcuserdata\yohunl.xcuserdatad\
目录 0 2017-01-22 06:11 weweChatAssitant-master\TestTweak.xcodeproj\xcuserdata\yohunl.xcuserdatad\xcschemes\
文件 2853 2017-01-22 06:11 weweChatAssitant-master\TestTweak.xcodeproj\xcuserdata\yohunl.xcuserdatad\xcschemes\TestTweak.xcscheme
文件 481 2017-01-22 06:11 weweChatAssitant-master\TestTweak.xcodeproj\xcuserdata\yohunl.xcuserdatad\xcschemes\xcschememanagement.plist
目录 0 2017-01-22 06:11 weweChatAssitant-master\TestTweak\
文件 6148 2017-01-22 06:11 weweChatAssitant-master\TestTweak\.DS_Store
目录 0 2017-01-22 06:11 weweChatAssitant-master\TestTweak\WeChatAssistant\
文件 3763 2017-01-22 06:11 weweChatAssitant-master\TestTweak\WeChatAssistant\Aspects.h
文件 39180 2017-01-22 06:11 weweChatAssitant-master\TestTweak\WeChatAssistant\Aspects.m
文件 65284 2017-01-22 06:11 weweChatAssitant-master\TestTweak\WeChatAssistant\CaptainHook.h
文件 16444 2017-01-22 06:11 weweChatAssitant-master\TestTweak\WeChatAssistant\UICKeyChainStore.h
文件 49933 2017-01-22 06:11 weweChatAssitant-master\TestTweak\WeChatAssistant\UICKeyChainStore.m
文件 6178 2017-01-22 06:11 weweChatAssitant-master\TestTweak\WeChatAssistant\UIView+Helpers.h
文件 27026 2017-01-22 06:11 weweChatAssitant-master\TestTweak\WeChatAssistant\UIView+Helpers.m
文件 1243 2017-01-22 06:11 weweChatAssitant-master\TestTweak\WeChatAssistant\WeChatEnvelopConfig.h
文件 2065 2017-01-22 06:11 weweChatAssitant-master\TestTweak\WeChatAssistant\WeChatEnvelopConfig.m
文件 3168 2017-01-22 06:11 weweChatAssitant-master\TestTweak\WeChatAssistant\WeChatRedEnvelop.h
文件 530 2017-01-22 06:11 weweChatAssitant-master\TestTweak\WeChatAssistant\YLAssitManager.h
文件 6490 2017-01-22 06:11 weweChatAssitant-master\TestTweak\WeChatAssistant\YLAssitManager.m
文件 639 2017-01-22 06:11 weweChatAssitant-master\TestTweak\WeChatAssistant\YLCellModel.h
文件 488 2017-01-22 06:11 weweChatAssitant-master\TestTweak\WeChatAssistant\YLCellModel.m
文件 302 2017-01-22 06:11 weweChatAssitant-master\TestTweak\WeChatAssistant\YLCoordinatesViewController.h
文件 6602 2017-01-22 06:11 weweChatAssitant-master\TestTweak\WeChatAssistant\YLCoordinatesViewController.m
............此处省略76个文件信息
评论
共有 条评论