(please keep in mind im very new to xcode and swift) All im trying to do is create an outlet between my view container on my storyboard and my viewcontroller.swift file. I hold control drag a line between the container and the swift file i name the outlet i run the app no issues.
Everything seems fine so i change the masktobounds on the container to false and it gives me the error. Really not sure what is going on this seems to be happening even with different outlet names.
When the error occurs it switches to the debug navigator, selects a file, and highlights this line
- 0x1005ee588 <+44>: brk #0x1
hopefully thats of some use.
Im really stuck on this error any help or advice as to what exactly is going and possibly how to fix it would be appreciated Thank you.
ViewController.swift
import UIKit
import Firebase
class ViewController: UIViewController {
@IBOutlet weak var labelContainer: UIView!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
labelContainer.layer.masksToBounds = false
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
}
I understand that this error has come up in other threads however the cause of which seems to be different so why is this marked as a duplicate?