-1

I started learning programing just few weeks ago. i am making some application with Swift and Parse

i have problem i install Parse SDK and Frameworks then i tried connect my app to Parse. (connecting was successful) but In test the SDK has some problems.

testObject["foo"] <- i can't write it i don't know how solve it

override func viewDidLoad() {
    super.viewDidLoad()

    let testObject = PFObject(className: "TestObject")
    testObject["foo"] = "bardd"
    testObject.saveInBackgroundWithBlock { (success: Bool, error: NSError?) -> Void in
        println("Object has been saved.")
    }

error messsage : PFObject does not have a memeber named 'subscript'

if i delete testObject["foo"] = "bardd" ,all build well. but in my Parse, there are nothing "foo" column..

Waiting reply! Thanks you. ( Sorry for bad english)

rici
  • 234,347
  • 28
  • 237
  • 341
TaeWoo Park
  • 1
  • 1
  • 3

1 Answers1

0

This might help you. I experienced it once. It looks like it is a Framework-sided error.

Community
  • 1
  • 1
Buğra Ekuklu
  • 3,049
  • 2
  • 17
  • 28