MOAspects icon indicating copy to clipboard operation
MOAspects copied to clipboard

AOP Library for iOS

Results 5 MOAspects issues
Sort by recently updated
recently updated
newest added

I have got a crash at ``` 0 MOAspects 0x0000000103721824 +[MOARuntime stringWithClass:] + 22564 (MOARuntime.m:43) 1 MOAspects 0x0000000103723d28 +[MOAspectsStore keyWithClass:selector:methodType:] + 32040 (MOAspectsStore.m:48) 2 MOAspects 0x0000000103723860 +[MOAspects targetInStoreWithClass:selector:methodType:hookRange:] + 30816...

What if I want to hook any method in a controller or class? using swift....

``` MOAspects.hookInstanceMethodForClass(SearchViewController.TableViewDelegateImpl.self, selector: "tableView:didSelectRowAtIndexPath:", position: MOAspectsPosition.After) { (obj:AnyObject?) -> Void in someMethod1() } class SearchViewController : UIViewController { class TableViewDelegateImpl : NSObject, UITableViewDelegate { override dynamic func tableView(tableView: UITableView, didSelectRowAtIndexPath...

We need to access arguments of hooked methods with Swift, such as `touches: NSSet` in UIView#touchesBegan. Is it possible to enable to access arguments like [Aspects](https://github.com/steipete/Aspects)? ``` swift print(aspectInfo.arguments()) ```