In Objective-C with Cocoa a lot of tasks can be accomplished without explicit loops by using Key-Value Programming (KVP). For example, I can find the largest number in an array
I'm not sure about KVP, but KVO isn't currently supported in Swift. See also this dev forums thread:
https://devforums.apple.com/thread/227909