I know and understand the error handling in swift - no exceptions. But there are cases in Cocoa and Cocoa Touch that there is no other way to handle an error but catch an exception. For example if you write into file handle while you run out of free space. This is just not the situation when we want the app to crash... How to handle such a situation?
UPDATE
I see there is a little disturbance when Swift and exception are together in one sentence. So let me put emphasis on solution how to avoid crash on - writeData:
if the only indication of "something wrong" (not runtime, program logic error) is exception thrown.