GithubHelp home page GithubHelp logo

chenxgen.github.io's Introduction

  • 👋 Hi, I’m @chenxGen

chenxgen.github.io's People

Contributors

chenxgen avatar

Watchers

 avatar

chenxgen.github.io's Issues

objective-c语言环境下关于可继承的链式调用实现的思考

objective-c语言环境下关于可继承的链式调用实现的思考

问题背景链式语法相信我们并不陌生,Masonry 就是一个很好的例子;利用 objective-c 的“点语法”,结合 block,就可以实现了一个简单的的链式调用的设计: @interface Base : NSObject- (Base *)one;- (Base *(^)(void))blockOne;@EnD 这样可以做到类型为 Base 的对象 obj 实现如下的链式调用:obj.bl

https://chenxgen.github.io/2021/11/02/objective-c-inherit-chain-call/

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.