title: Get next or previous item to an object in a Swift collection or array
body: <p>What is the best way to identify the item that precedes or follows a specified object in a Swift array, while protecting against out of bounds errors?</p>