category - Runtime or compile time error for type check in Objective C -



category - Runtime or compile time error for type check in Objective C -

currently in our sdk allow user set key/value info on user record, info date, string or number. created protocol phone call attribute, extended (category) nsstring , nsdate , confirm protocol. in our method sets these attributes, inquire value argument confirm attribute protocol. help compile time check, wonder if necessary due dynamic nature of objective c (i’m java developer), improve run time check , homecoming nserror if value not of type nsstring nsdate or nsnumber ?

a decision depend on application behavior wrong data. it's unnecessary create error if it's wrong info @ release, should check values , converse, example, int nsnumber when user typed data, not after operations. it's choice, lead 1 or check if(error) etc..

objective-c category

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -