Passing messages back from view

Discussion in 'iOS Programming' started by nashyo, Jan 16, 2012.

  1. nashyo macrumors 6502

    nashyo

    Joined:
    Oct 1, 2010
    Location:
    Bristol
    #1
    Does someone know a good source that can help explain this fundamental concept to me please? I understand that objects shouldn't be passed from view -> controller. But I don't understand how to code for delegation.

    I have spent about 100 hours learning Objective-C and app development, and I've got an app that looks almost complete. But there seems to be a lack straightforward information about delegation.

    I was given the following link, and apparently it's the simplest tutorial available.

    http://iphonedevelopertips.com/objective-c/the-basics-of-protocols-and-delegates.html

    I consider myself an intelligent guy, but I do not understand what's being said in the above link, at all. Can someone please help me understand?

    With delegation, are you actually coding the passing of an object from one controller to another? I can't imaging changing a property of an object that's not on screen and is deallocated, as right. What's actually happening during delegation?
     
  2. nashyo thread starter macrumors 6502

    nashyo

    Joined:
    Oct 1, 2010
    Location:
    Bristol
    #2
    Found it

    I've found a good source on iTunesU which is very clear.

    Multiple MVC's and Segues (Octover 13, 2001) - Paul Hegarty.
     

Share This Page