Code Monkey home page Code Monkey logo

dfinvocation's People

Stargazers

 avatar  avatar

Watchers

 avatar

dfinvocation's Issues

兄弟 ,看了你写的,整复杂了,看我的👇🏻

NSObject+DynamicInvoke.zip

这个类是示例代码:
/**
此类只做示例
演示对(-)实例方法和(+)类方法的动态调用
❤️值得注意的几点:
1、OC是自诉语言,对方法名的大小写敏感;
2、带参数的方法名后面需要拼接冒号
3、不带参数的方法调用【不管是对(-)实例方法还是对(+)类方法】,paramarrays参数可以传nil也可以传空数组
4、带参数的方法调用【不管是对(-)实例方法还是对(+)类方法】,paramarrays参数传数组,数组里面是各项参数名的统一数据结构的对象形式【因为数组里面的数据是要求必须是统一的结构】
*/
image

我194行解决战斗。

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.