GithubHelp home page GithubHelp logo

ocdeeplearning's Introduction

OCDeepLearning

OC的高级用法和学习

文章主要包含以下部分:

  • OC的黑魔法
  • 底层的方法
    • IMP,SEL,Method的本质
    • 添加IMP实现方法调用(OC_IMP.h类)
  • 内存管理
    • 自动释放池
    • ARC和MRC
  • 多线程
    • GCD的基础用法
      • Queue
        • dispatch_create
        • 系统队列
          • Main Dispatch Queue/Global Dispatch Queue
    • GCD的高级用法
      • Dispatch Group
        • notify
        • wait
      • dispatch_barrier_aync
      • dispatch_set-target-queue
      • dispatch_after
      • dispatch_apply
      • dispatch_suspend/resume
      • dispatch_once

ARC

  • 内部循环使用自动释放池

NSRunloop

  • 子线程的NSTimer和NSRunLoop
子线程有RunLoop,但默认不开启,
而NSTimer事件依赖NSRunLoop,
只有手动开启子线程的NSRunLoop,
并将NSTimer添加进去才可以运行。

category的高级使用

Runtime

文末

主要是针对各种魔法提供代码的用例以及高级技巧的使用介绍。 基于底层的实现原理,会选择性提供优质的博客以论证。

ocdeeplearning's People

Contributors

walkertop 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

Watchers

 avatar  avatar  avatar  avatar

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.