esilver esilver - 5 months ago 10
iOS Question

Are the HTTP status codes defined anywhere in the iOS SDK?

Does anyone know if/where the HTTP status codes, as specified here, are defined in the iOS SDK? Or should I expect to manually re-define them in a constants file?

Thanks.

Answer

I did a

grep -r '404' *

in

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Lib‌​rary/Frameworks/ 

and came up empty handed so the answer is almost certainly "no".