Open ziilive opened 6 months ago
Objc method declare like:
- (BOOL)connectToHost:(NSString*)host onPort:(uint16_t)port error:(NSError **)errPtr;
Bridged to swift:
func connectTo(host: on port:) throws -> Bool
So how do stub a method like this?
Hey @ziilive, unfortunately I'm not really well-versed in the Obj-C mocking part, so I can't help here, perhaps someone from the community might know.
Objc method declare like:
Bridged to swift:
So how do stub a method like this?