Looking at a Swift example:
if let sourceViewController = sender.sourceViewController as? MealViewController, meal = sourceViewController.meal {
...
}
The doc states:
... the code assigns that view controller to the local constant sourceViewController, and checks to see if the meal property on sourceViewController is nil.
Question: Does Swift let you have multiple conditions in your if statement when separated by commas (as in this example with the comma after MealViewController)?
Haven't seen this in the docs.