Problem with Random App


#1

It seems that [textField setStringValue:@"Generator Seeded"]; does not work and that [self.textField setStringValue:@"Generator seeded"]; is the expected format.

The original form returns an error that textField is an unknown receiver even though the .h file has it.

Is this a change since the book was written?

Thanks!


#2

That’s because, probably, the textField property was (auto-)synthesized like this:

@synthesize textField = _textField

#3

Thanks! That makes sense. :slight_smile: