You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an unexpected problem where simply creating a partial mock of an instance of UITextField contained within an other object results in this error if ‑resignFirstResponder is sent to the UITextField object:
-[OCMockTextFieldTest testCreateMock] failed: -[UITextInputTraits resignFirstResponder]: unrecognized selector sent to instance 0x102b05ba0
That was produced by running the test class I created to show the issue. I don't know the significance of this, but if the test method is written as follows, no error occurs:
With the recent changes made in response to some of the other issues reported this problem seems to have been fixed, too. Could you retry whether it works for you now?
I encountered an unexpected problem where simply creating a partial mock of an instance of
UITextField
contained within an other object results in this error if‑resignFirstResponder
is sent to theUITextField
object:That was produced by running the test class I created to show the issue. I don't know the significance of this, but if the test method is written as follows, no error occurs:
The text was updated successfully, but these errors were encountered: