? ? ? ?最近在用xib創(chuàng)建自定義view的時(shí)候總是報(bào)“this class is not key value coding-compliant for the key descriptionLable.”,后來(lái)經(jīng)過(guò)查證原來(lái)是設(shè)置“class”的時(shí)候出了錯(cuò)!!!
? ? ? 對(duì)class設(shè)置的時(shí)候一定要選對(duì)地方,要對(duì)“view”進(jìn)行設(shè)置,而不是“File's Owner”
錯(cuò)誤試圖:
正確試圖: