ios - Upgrading to Swfit 3: cannot override 'init' which has been marked unavailable -


i inherited ios project incorporates apple's researchkit (rk).

i have upgraded recent version of rk , swift 3. while have worked in ios , rk, still not confident. anyways, there class called surveytask implements orkorderedtask rk.

enter image description here

cannot override 'init' has been marked unavailable

at end function, stepz defined, have:

super.init(identifier: "survey", steps: stepz) 

i checked orkorderedtask class definition, has init function.

enter image description here

i have been reading initializers haven't found anything. using override or convenience before init in surveytask doesn't change anything. same error. appreciated.

xcode version 8.1.


Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -