watchkit - Use of undeclared type error in watch kit app -


i'm creating table in interface controller not main entry point in watchkit app. in statement below, eventdescription custom class bound table's row. compiler not resolve eventdescription class.

if let row = eventtable.rowcontrolleratindex(index) eventdescription{ 

i solved it. created new interface controller , deleted old 1 in storyboard. had earlier tried clearing derived data , restarting xcode did not solve problem. 1 thing shall mention here, had moved interface controller source file different folder , must have caused said issue. however, clearing derived data should have taken care of it. hope comment helps others working on watchkit apps. support!


Comments