use of undeclared identifier
- (instancetype)initWithPeopleName:(NSString *) peopleName andPeopleAge:(int) peopleAge 為何我在實(shí)現(xiàn)這個(gè)方法的適合會(huì)說(shuō)我 ues of undeclared identifier 'peopleName'
- (instancetype)initWithPeopleName:(NSString *) peopleName andPeopleAge:(int) peopleAge 為何我在實(shí)現(xiàn)這個(gè)方法的適合會(huì)說(shuō)我 ues of undeclared identifier 'peopleName'
2015-11-23
舉報(bào)
2015-12-18
可能的原因:1、沒(méi)有導(dǎo)入.h文件;2、在類(lèi)中沒(méi)有定義這個(gè)變量
你查查看
2015-11-27
我試了下沒(méi)問(wèn)題啊,看看是不是其他地方出問(wèn)題啦