Yanni Wang

Results 15 issues of Yanni Wang

I found this `- (void)collectionView:(JNWCollectionView *)collectionView mouseUpInItemAtIndexPath:(NSIndexPath *)indexPath withEvent:(NSEvent *)event;` but it is not what I want. I think, if a event **moved**,and **up**, it isn't a Click event. only...

```objc NSError *error = nil; NSURL *url = [[NSURL alloc] initWithString:@"https://www.google.com"]; [url aspect_hookSelector:@selector(absoluteString) withOptions:AspectPositionBefore usingBlock:^(id info){ NSLog(@""); } error:&error]; [url absoluteString]; ```

```swift let object = NSURL.init(string: "https://www.google.com")! let hook = try? object.hook( #selector(getter: NSURL.host), methodSignature: (@convention(c) (AnyObject, Selector) -> String).self, hookSignature: (@convention(block) (AnyObject) -> String).self) { store in { `self` in...

Example code: ``` import 'package:flutter/material.dart'; import 'package:flutter_linkify/flutter_linkify.dart'; void main() => runApp(LinkifyExample()); class LinkifyExample extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( debugShowCheckedModeBanner: false, title: 'flutter_linkify example', home: Scaffold(...

Add `type: HandlerType.function` to the example code in README. ``` FluroRouter.appRouter.navigateTo( context, 'home', routeSettings: RouteSettings( arguments: MyArgumentsDataClass('foo!'), ), ); var homeHandler = Handler( type: HandlerType.function, // set function as the...

Crash demo code: ```objc #import "ViewController.h" #import @import EasySwiftHook; @interface ViewController () @property (nonatomic, strong) dispatch_source_t timer; @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; [self startTimer]; } #pragma mark...

print(AnyCodable.init(["1"]) == AnyCodable.init(["1"])) // print false print(AnyCodable.init(["1:2"]) == AnyCodable.init(["1:2"])) // print false I am using AnyCodable-FlightSchool 0.6.0

bug

Steps to reproduce: 1. Create a new iOS project. 2. Set up EarlGrey by this [cocoapods guide](https://github.com/google/EarlGrey/blob/earlgrey2/docs/cocoapods-setup.md) 3. Build and run for real device or simulator. Build error for real...

Download demo from https://github.com/google/EarlGrey/tree/earlgrey2/Tests/Functional/FunctionalTests.xcodeproj Build error for both simulator and real device: Mac version: Mac Monterey 12.1 CPU: Intel Xcode: 13.2.1

```objc NSURL *url = [[NSURL alloc] initWithString:@"https://www.google.com"]; [url st_hookInstanceMethod:@selector(absoluteString) option:(STOptionBefore) usingIdentifier:@"123" withBlock:^(id params) { NSLog(@""); }]; [url absoluteString]; ```