Giter VIP home page Giter VIP logo

gcd-operationqueue-exploration's Introduction

这个仓库是关于iOS开发多线程方面的知识讨论意见基本的用法。主要包括GCD和Operation、KVO几部分。demo中有完整的注释、保存在此、方便使用。

##我会持续更新这个仓库、欢迎关注和start

//=================Dispatch Apply Demo==========

Dispatch Apply包含dispatch_semaphore、dispatch_suspend、dispatch_apply三种情况的基本用法。参考自Objective-C高级编程这本书。

//=================Dispatch Battier Demo==========

Dispatch Battier可以用于实现sqlite的读写安全控制。demo里有基本用法。参考自Objective-C高级编程这本书。

//=================Dispatch Group Demo==========

Dispatch Group可以用dispatch_group_notify、dispatch_group_wait来监听一组任务是否完成。参考自Objective-C高级编程这本书。

//=================OprerationQueue Demo==========

OprerationQueue涉及带InvocationOperation、BlockOperation和自定义的的并发和非并发队列的创建和使用。参考地址Demo中AppDelegate有。参考博客地址:参考博客地址

//=================Notification与多线程以及Notification安全 Demo==========

Notification与多线程以及Notification安全涉及iOS中通知的安全和线程处理。参考地址Demo中AppDelegate有。参考博客地址:参考博客地址

//=================关于NSNotificationCenter的探讨 Demo==========

关于NSNotificationCenter的探讨涉及通知的各种操作和需要注意的问题。参考地址Demo中AppDelegate有。参考博客地址:参考博客地址

//=================手动实现KVO、注册依赖键、集合属性监听 Demo==========

手动实现KVO、注册依赖键、集合属性监听涉及到手动设置kvo、kvo依赖键实现、kvo数组属性改变监听等。参考地址Demo中AppDelegate有。参考博客地址:参考博客地址

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.