and [/ code] tags so it appears right in your post... it's easier to read than having to open a thumbnail. You included the error message, so that's good.
Your error message says it all - there's no property for an NSTextField called text. If you open up the class reference, you can see that that's so, but also, at the top of the class reference, they mention a method by name that I think you'll find helpful. Have a look for yourself, it's in the [b]Overview[/b] section:
[url=https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSTextField_Class/Reference/Reference.html]NSTextField Class Reference[/url]
(By the way, you should learn to check the class references. Just Google the name of the class and "Class Reference" and the first result will almost always be the official documentation on the class straight from Apple, and they'll almost always have exactly the information that you want to use the class.)