The problem
Customize view
and then use xib
to load this view
. Run it and then crash
:
Thread 1: Fatal error: init(coder:) has not been implemented
The solution
will
required init?(coder aDecoder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
Just call the superclass method instead:
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
}
Read More:
- RuntimeError: Default process group has not been initialized, please make sure to call init_process_
- cv2 error – function not implemented [How to Solve]
- RuntimeError: log_vml_cpu not implemented for ‘Long’
- Hot Swap failed:add method not implemented
- RuntimeError: reciprocal is not implemented for type torch.cuda.LongTensor
- Error: could not create the Java virtual machine Error:A Fatal exception has occurred
- RuntimeError: “unfolded2d_copy“ not implemented for ‘Half‘
- Error: could not create the Java virtual machine. Error: a fatal exception has occurred
- VBoxManage.exe: error: Resize hard disk operation for this format is not implemented yet!
- Run time error: “unfolded2d”_ copy“ not implemented for ‘Half‘
- Error:Could not create the Java Virtical Machine. Error: A fatal exception has occurred. program
- An error is displayed when virtualbox uses modifyhd command to expand capacity: Resize medium operation for this format is not implemented yet
- Successful solution of eclipse startup error Error:Could not create the Java Virtual Machine Error:A fatal exception has occurred
- Apache Groovy——java.lang.NoSuchMethodError: x.x.x: method <init>()V not found
- appear pygame.error : font not initialized problem, remember to check whether the program calls pygame.init ()
- Typeerror in gitbook init: cb.apply is not a function solution
- gnutls_handshake() failed: A TLS fatal alert has been received
- WINDOWS 7 : SYSPREP 3.14 : A FATAL ERROR HAS OCCURRED DURING SYSPREP.(ZZ)
- TypeError: descriptor ‘__init__‘ of ‘super‘ object needs an argument
- Cloud init error: error: invalid scope does not have permission