Code Monkey home page Code Monkey logo

gcd-operationqueue-exploration's Introduction

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

##强烈推荐配合demo中的博客一起看。都是经典。

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

//=================KVC的实现流程以及比特用法 Demo==========

KVC的实现流程以及比特用法(需要Xcode 7打开),讲了KVC的实现过程以及背后的函数调用、KVC的各种比特用法以及他们实现背后的原理。参考地址Demo中AppDelegate有。参考博客地址:参考博客地址1参考博客地址2参考博客地址3

//=================利用Runtime自定义控制器POP手势动画 Demo==========

利用Runtime自定义控制器POP手势动画(需要Xcode 7打开),用两种方式实现了全屏滑动返回、高度封装、其中第一种方式可以自定义pop动画。参考地址Demo中AppDelegate有。参考博客地址:参考博客地址1参考博客地址2参考博客地址3

//=================底层并发API之最佳实践及原理 Demo==========

底层并发API之最佳实践及原理,主要是一些理论或者最佳实践性的指导。讲了GCD的各种最佳实践原则、一写多读控制、多个异步网络请求结束通知、原子操作等各种操作。参考地址Demo中AppDelegate有。参考博客地址:底层并发 API并发编程:API 及挑战

//=================HCDWebImage Demo==========

HCDWebImage(需要Xcode 7打开),实现了一个图片异步加载、本地缓存、队列下载等功能、通过内存缓存、磁盘缓存来实现对图片的缓存、SDWebImage的分析等。参考地址Demo中AppDelegate有。参考博客地址:参考博客地址参考博客地址

//=================HCDExtension Demo==========

HCDExtension,让你一步一步学会实现自己的MJExtension。非常经典。参考地址Demo中AppDelegate有。参考博客地址:参考博客地址

//=================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有。参考博客地址:参考博客地址

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

关于NSNotificationCenter的探讨涉及到通知中心的各种原理和注意事项、用法。参考地址Demo中AppDelegate有。参考博客地址:参考博客地址

//=================iOS事件传递机制以及相应函数==========

iOS事件传递机制以及相应函数涉及到事件相应链的各方面以及相关函数的各种用法。参考地址Demo中AppDelegate有。参考博客地址:参考博客地址1参考博客地址2

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

Dispatch Apply包含dispatch_semaphore、dispatch_suspend、dispatch_apply三种情况的基本用法。参考自Objective-C高级编程这本书和GCD 深入理解:第二部分

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

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

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

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

gcd-operationqueue-exploration's People

Contributors

huang303513 avatar

Watchers

Zero 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.