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.
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.
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
Post a Comment