AppDelegate Error

on class AppDelegate: UIResponder, UIApplicationDelegate {

getting error Thread1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0


Anybody know what could be causing this? Just added a second level to my game.! Could that be the prob?


Heres the code for the AppDelegate.swift / 2 levelz



import Foundation

import UIKit

@UIApplicationMain

class AppDelegate: UIResponder, UIApplicationDelegate {

var window: UIWindow?

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject : AnyObject]?) -> Bool {

return true

}

func applicationWillResignActive(application: UIApplication) {


}

func applicationDidEnterBackground(application: UIApplication) {


}

func applicationWillEnterForeground(application: UIApplication) {

}

func applicationDidBecomeActive(application: UIApplication) {

}

func applicationWillTerminate(application: UIApplication) {

}

}

Answered by Claude31 in 141404022

Where does the error happens exactly ?


What do you mean by / 2 in "the code for the AppDelegate.swift / 2" ?

Accepted Answer

Where does the error happens exactly ?


What do you mean by / 2 in "the code for the AppDelegate.swift / 2" ?

AppDelegate Error
 
 
Q