Example: Objective C method alongside a php method
        Posted  
        
            by Nic Hubbard
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Nic Hubbard
        
        
        
        Published on 2010-05-01T01:22:37Z
        Indexed on 
            2010/05/01
            1:27 UTC
        
        
        Read the original article
        Hit count: 583
        
I am very used to javascript and php programing, and I just jumped into programing Objective C. After working with it for a few weeks, the methods still confused me, as to how it is passing params, and how the methods are named.
Since I am used to php, I am used to seeing:
function myFunc($param1, $param2, $param3, $param4) {
   return FALSE;
}
Could someone show me how this would be written in Objective C, so that I can get used to writing methods that have parameters?
© Stack Overflow or respective owner