Search code examples
iosswiftparse-platformwidgetios8-extension

Get string from Parse.com iOS 8 Today Widget


I would like to retrieve a string from Parse.com in my notification centre widget. I have this code Parse.setApplicationId("appId", clientKey: "clientKey") in the widget's viewDidLoad but there is an error. The error says:

Use of unresolved identifier 'Parse'

Where am I going wrong?


Solution

  • Make sure that you have added Parse and all needed frameworks to the widget target. You may have added them to your apps target when you dragged them in but they need to be added to the widgets target as well if you plan on using them in there,