我是使用Objective-C为iOS应用程序编程的新手。如何创建自己的错误域和错误代码以在我自己的应用程序中使用? 最佳答案 根据ErrorHandlingProgrammingGuide:Youcancreateyourownerrordomainsanderrorcodesforuseinyourownframeworks,oreveninyourownapplications.Itisrecommendedthatthestringconstantforthedomainbeoftheformcom.company.fram
我是使用Objective-C为iOS应用程序编程的新手。如何创建自己的错误域和错误代码以在我自己的应用程序中使用? 最佳答案 根据ErrorHandlingProgrammingGuide:Youcancreateyourownerrordomainsanderrorcodesforuseinyourownframeworks,oreveninyourownapplications.Itisrecommendedthatthestringconstantforthedomainbeoftheformcom.company.fram