Hey there, quick question here. I\'m sure there\'s a simple answer.
Coming from PHP, I\'m used to declaring a function with a default argument value like this:
No, default arguments are a feature of C++, not C or Objective-C.
What you would have to do in objective-c is the following (using your psuedo code above):
function myFunction ($array, $sort) function myFunction ($array) // call myFunction($array, FALSE)