How to process Xcode Main Thread Checker warn

Should I put below code in to Main Thread?

NSString *userId = self.uidTextField.text;

and only get UIView frame.