Giter Site home page Giter Site logo

awhisper / vkurlaction Goto Github PK

View Code? Open in Web Editor NEW
92.0 92.0 21.0 163 KB

基于target-selector 而非基于block注册式的 openURL url参数解析+运行时行为处理,各自行为还需要自定义,定义好行为,无需统一注册,即可生效

License: MIT License

Objective-C 97.40% Ruby 2.60%

vkurlaction's People

Contributors

awhisper avatar chorsfield avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vkurlaction's Issues

signSalt校验有问题

issue1

通过allkeys获取到key顺序不是固定的,导致生成和校验的MD5不同

复现代码:
NSString *url2 = [VKURLAction creatNewNativeBaseUrl];
url2 = [VKURLAction appendAction:@"pushVc" ToBaseUrl:url2];
url2 = [VKURLAction appendArguementToHalfUrl:url2 WithKey:@"identifier" andValue:@"ceshi"];
url2 = [VKURLAction appendArguementToHalfUrl:url2 WithKey:@"title" andValue:@"hahdh"];
url2 = [VKURLAction appendArguementToHalfUrl:url2 WithKey:@"titles" andValue:@"hahdh"];
url2 = [VKURLAction appendSignCheckToUrl:url2];
[VKURLAction doActionWithUrlString:url2];

貌似不支持从 story board 的 VC

把 demo 中的 initWithTitle:url:{ self = [super init]; }, 修改为self = [[UIStoryboard storyboardWithName:@"Main" bundle:nil] instantiateViewControllerWithIdentifier:@"WebViewController"]; (已在 main.storyboard 添加)的话就会报错。

在我自己的项目中,测试写了两个 vc,一个参数的 ok, 一个多参数的会报错。(都是调用VKCallClassAllocInitSelectorName )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.