Official Forum for Programming in Objective-C (the iPhone Programming Language) - Stephen Kochan
August 22, 2017, 05:36:35 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register Chat  
Pages: [1]   Go Down
  Print  
Author Topic: Argument names  (Read 3478 times)
MikeF
Newbie
*
Posts: 49


Email
« on: December 10, 2010, 12:31:27 PM »


hello , are 'argument names' just a means of making method declarations a bit more readable.
Don't get me wrong.., i think they're a good idea, i was just wondering if that was all they were and they don't have any real purpose??
Logged
skochan
Administrator
Hero Member
*****
Posts: 3114



« Reply #1 on: December 17, 2010, 04:49:28 PM »

They have a purpose; it's the name you need to use to refer to the actual argument passed to the method. 

Cheers,

Steve
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Entire forum contents ゥ 2009 classroomM.com. All rights reserved.