Coder Social home page Coder Social logo

arctransformer's Introduction

ArcTransformer

用来把MRC转成ARC的工具工程 主要使用正则表达式去替换一些常用的工作 PS:1.先设置工程的automaticReferenceCount 改为YES,并把对应需要仍以MRC处理的项目打上TAG 2.使用工具去转换 3.使用的过程如果发现了一些不好改成ARC的类,把这个类的文件名(h&&m)放进plist里面,为自动忽略 4.一些后续的问题: I.有的开发者喜欢在MRC里面创建一个View,self.view addSubview:xx,然后直接释放,而当前VC对这个View的引用是assign的,此时改成weak后,这种实现会导致view在传值的一瞬间马上被释放,这个需要自己去改(analyse的warning也会显性地指出这一点的)

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.