Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Why use delegates?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="nabl" data-source="post: 1052602" data-attributes="member: 43512"><p>I'd try to explain it, but I think Apple has already done an excellent job: <a href="http://developer.apple.com/iphone/library/documentation/General/Conceptual/DevPedia-CocoaCore/Delegation.html" target="_blank">read this</a> (also check out the Definitive Discussion at the bottom). Basically it helps in separating code among objects, making more generic (reusable!) code, and in keeping code <a href="http://developer.apple.com/iphone/library/documentation/General/Conceptual/DevPedia-CocoaCore/MVC.html" target="_blank">MVC-compliant</a>.</p></blockquote><p></p>
[QUOTE="nabl, post: 1052602, member: 43512"] I'd try to explain it, but I think Apple has already done an excellent job: [URL="http://developer.apple.com/iphone/library/documentation/General/Conceptual/DevPedia-CocoaCore/Delegation.html"]read this[/URL] (also check out the Definitive Discussion at the bottom). Basically it helps in separating code among objects, making more generic (reusable!) code, and in keeping code [URL="http://developer.apple.com/iphone/library/documentation/General/Conceptual/DevPedia-CocoaCore/MVC.html"]MVC-compliant[/URL]. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Why use delegates?
Top