PFTwitter实用程序用于Swift

时间:2015-11-08 12:20:50

标签: swift twitter parse-platform

在这个问题上绞尽脑汁但是我无法让PFTwitterUtils在swift中工作。

我已经从Parse导入了所有相关文件(包括PFTwitter Utils)

但它只是不会认识到我创建一个实例。

有谁知道为什么会这样?这就是我到目前为止所做的一切

import UIKit
import Parse
import Foundation




class ViewController: UIViewController {



override func viewDidLoad() {
    super.viewDidLoad()
    // Do any additional setup after loading the view, typically from a nib.
}

override func didReceiveMemoryWarning() {
    super.didReceiveMemoryWarning()
    // Dispose of any resources that can be recreated.
   }

    @IBAction func loginWithTwitter(sender: AnyObject) {



       PFTwitterUtils







    }


}

enter image description here

1 个答案:

答案 0 :(得分:0)

在ViewController顶部添加import ParseTwitterUtils