0

I am trying to declare some UI controls in Swift playground but the playground is throwing a error as invalid object.

enter image description here

I think none of the UIKit elements are getting recognized. And I have tried creating a new project and adding the playground file but even this did not work out. The xcode version being used is 6.4.

I have already gone through these(links),

link1 and link2 but didn't really help me to solve this issue.

Can anyone help me out to solve the problem?

Thanks in advance :)

Community
  • 1
  • 1
Vinayak Hejib
  • 721
  • 7
  • 17
  • Do you have iOS playground ? If not On the right side of Xcode Change “Playground Settings -> Platform” from OS X to iOS – Vojtech Vrbka Jul 13 '15 at 13:31
  • Yes i have tried all these possibilities and again i have tried changing the resource type from "Absolute" to "Relative to Playground" and other options too.. – Vinayak Hejib Jul 13 '15 at 13:48

0 Answers0