Open onmyway133 opened 8 years ago
tableView.dataSource =
!= tableView.setDataSource
😂Load framework
var onRun = function(context) {
var FRAMEWORK_NAME = "Instabar";
try {
SIInstabar.launchWithContext(context);
} catch(e) {
var pluginBundle = NSBundle.bundleWithURL(context.plugin.url()),
mocha = Mocha.sharedRuntime();
if(mocha.loadFrameworkWithName_inDirectory(FRAMEWORK_NAME, pluginBundle.resourceURL().path())) {
SIInstabar.launchWithContext(context);
} else {
print("Error while loading framework '"+FRAMEWORK_NAME+"`");
}
}
}