so… I understand that one needs to use the documentation to learn Objective-C and how it is used in XCode… but I’m having a hard time understanding how the documentation works. On page 28, we see some code…
[textField setStringValue:@"Generator Seeded"];
“textField” here is an instance of NSTextField. But in the documentation for NSTextField… there is no method called “setStringValue:” Nor is it in the super class NSControl. How is one supposed to know what methods to use given a NSTextField object if they aren’t even listed in the documentation? In fact… is there a method in the documentation for NSTextField that would send text to a textfield?
Again, going by the documentation… setStringValue: is a PDFAnnotationTextWidget (!!!)… and a deprecated one at that. But… it oddly still works as of this writing in October of 2018… and… if there’s a newer and better way to send something to a text field… I don’t even know where I would begin to look.