this weird. understand class not being declared, claiming object class not declared. nsobject works, way project setup need pure swift object. class header looks this:
import uikit import foundation class person: object { i know foundation isn't necessary, added because wasn't sure if causing me issues. issue occurring in both actual projects , playgrounds in xcode 6 , latest xcode 7 beta swift 2.0
just remove : object. pure swift classes don't need inherit superclass
Comments
Post a Comment