Should be easily portable to Swift.
Should be easily portable to Swift.