Lines Matching full:textfield
21 NSColor * Test1(NSTextField *textField, CGColorRef newColor) {
23 textField.backgroundColor = newColor; // expected-error {{'CGColorRef' (aka 'struct CGColor *') must be explicitly converted to 'NSColor *__strong'; use '+colorWithCGColor:' method for this conversion}}
27 NSColor * Test2(NSTextField *textField, CGColorRef1 newColor) {
29 textField.backgroundColor = newColor; // expected-warning {{incompatible pointer types assigning to 'NSColor *__strong' from 'CGColorRef1' (aka 'struct CGColor1 *')}}
33 CGColorRef Test3(NSTextField *textField, CGColorRef newColor) {
34 newColor = textField.backgroundColor; // expected-error {{'NSColor *' must be explicitly converted to 'CGColorRef' (aka 'struct CGColor *'); use '-CGColor' method for this conversion}}
35 return textField.backgroundColor; // expected-error {{'NSColor *' must be explicitly converted to 'CGColorRef' (aka 'struct CGColor *'); use '-CGColor' method for this conversion}}
38 CGColorRef2 Test4(NSTextField *textField, CGColorRef2 newColor) {
39 newColor = textField.backgroundColor; // expected-warning {{incompatible pointer types assigning}}
40 return textField.backgroundColor; // expected-warning {{incompatible pointer types returning}}