i try to unwrapcuentita.cubitoCHocolate = Int(chocolate.text!) ?? 0but it crash the appand this error appears in the console2018-05-09 14:48:22.123528-0500 venta[4355:2000820] -[venta.items continuar:]: unrecognized selector sent to instance 0x155d428f02018-05-09 14:48:22.127562-0500 venta[4355:2000820] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[venta.items continuar:]: unrecognized selector sent to instance 0x155d428f0'*** First throw call stack:(0x184296d8c 0x1834505ec 0x1842a4098 0x18e34ade4 0x18429c5c8 0x18418241c 0x18dfc66c8 0x18e0e78a4 0x18dfcc77c 0x18e1021dc 0x18e5a7dd8 0x18e5a4b50 0x18423e910 0x18423c238 0x18423c884 0x18415cda8 0x18613f020 0x18e13d78c 0x1045fd02c 0x183bedfc0)libc++abi.dylib: terminating with uncaught exception of type NSException(lldb)
Topic:
Programming Languages
SubTopic:
Swift
Tags: