backendless = Backendless.sharedInstance() in app delegate

I followed the get started guide and declared

var backendless = Backendless.sharedInstance() in appdelegate

however, it seems that I must declare that in every controller that I am using. if not i would get an unresolved unindentifier.

Please help or explain!

oh. what a stupid question. got it.

Chris, I’ll mark this one as “Solved”. Let us know if we can be of any help.

Cheers,
Mark

Feeling dumb given Chris’s immediate followup… but whats the resolution here? Does it need to be declared on every controller?

Chris, you can use Backendless.sharedInstance() everywhere for SDK calls if you don’t like to declare var backendless.