This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var fs = require("fs"); | |
var path = require("path"); | |
var appName = ""; | |
var appURL = ""; | |
var appIcon = ""; | |
var chromePath = "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" | |
var appRoot = "/Applications/Web Apps" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import PushKit | |
import AdSupport | |
import Foundation | |
class AppDelegate: UIResponder, UIApplicationDelegate { | |
var voipRegistry:PKPushRegistry! | |
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
class MyOperation:NSOperation{ | |
// the states of the operation. | |
enum State { | |
case Ready, Executing, Finished | |
func keyPath() -> String { | |
switch self { | |
case Ready: |