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

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -