Design Element
Comment on "Cocoa Learning Curve"
by Daniel — Jun 09
Can anyone point me towards an article or guide to best practice-use of error handling in Cocoa projects? I love Cocoa, but the tutorials and books I've read provide little information on the subject. So my Objective-C++ project is a mis-mash of C++ exceptions, Obj-C exceptions, method-returns and asserts. How should one handle errors in Init methods? How should C++ exceptions be integrated into the Objective-C layer? Coming from a C++ background, the static-type protection in ObjC seems surprisingly weak.
Back to "Cocoa Learning Curve"
Design Element

Copyright © Scott Stevenson 2004-2015