A predicate method is tipically one that should return a boolean value (true or false). These methods are useful in a lot of scenarios, like when you have an class with a boolean attribute.
I’ve started to develop applications for iOS about 3 months ago and there were a lot of things new for me in that environment (there are a lot yet) and Objective-C wasn’t an exception.
In order to remove all the files from the repository after they have been deleted from disk you have a couple of options.
I had a little doubt about when to do the return if you have a big if, something like the following function:
The radio buttons in HTML come in handy when the user should select only one option in a form.