User Tools

Site Tools


ios-labs-s14:basics-methods

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ios-labs-s14:basics-methods [2014/02/26 13:00]
mbarboi
ios-labs-s14:basics-methods [2014/02/26 13:02]
mbarboi
Line 31: Line 31:
  
 ====Invocation=== ====Invocation===
-**Invocation**- the act of running the code contained within a method. ​Also known as calling the method ​or sending ​message.+**Invocation**- the act of running the code contained within a method. ​method ​is invoked on target, where the target is the object that owns the method.
  
 Consists of two parts Consists of two parts
Line 41: Line 41:
    
 and can be nested infinitely deep: and can be nested infinitely deep:
-  [TARGET NAME] NAME2] NAME3];+  ​[[[TARGET NAME] NAME2] NAME3];
  
 where NAME2 and NAME3 are methods called on the objects returned by methods NAME and NAME2, respectively. where NAME2 and NAME3 are methods called on the objects returned by methods NAME and NAME2, respectively.
ios-labs-s14/basics-methods.txt ยท Last modified: 2014/02/26 13:02 by mbarboi