当我们在iOS中使用委托和回电时? [英] When we use delegate and Call back in iOS?

查看:110
本文介绍了当我们在iOS中使用委托和回电时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是iOS应用程序开发的新手,所以请向我解释一下委托和回电。当我们使用回叫和委托?

I'm very new on iOS application development so please explain me about delegate and call back. When we use use call back and delegate?

推荐答案

关于开发中心代表的大篇幅:
http://developer.apple.com/library/ ios /#DOCUMENTATION / Cocoa / Conceptual / CocoaFundamentals / CommunicatingWithObjects / CommunicateWithObjects.html

Big piece about delegates here on the dev centre: http://developer.apple.com/library/ios/#DOCUMENTATION/Cocoa/Conceptual/CocoaFundamentals/CommunicatingWithObjects/CommunicateWithObjects.html

有一个教程应用程序使用回调/委托

There is a tutorial app using callback/delegate

http ://brandontreb.com/objective-c-programming-tutorial-creating-a-twitter-client-part-1/

这篇关于当我们在iOS中使用委托和回电时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆