Women in Technology

Hear us Roar



Article:
  An Introduction to RubyCocoa, Part 1
Subject:   Browse TextField
Date:   2004-10-16 12:21:12
From:   lucbelanger1
The TextField beside the Browse button needs to be a NSTextField and not an NSTextView as mentionned. The NSTextView class does not respond to setStringValue.


NSTextView#setStringValue: - methodSignature is nil. (OSX::OCMessageSendException)

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Browse TextField
    2004-10-16 16:52:56  Christopher Roach | O'Reilly Blogger [View]

    You're absolutely correct. That is completely and totally a typo on my part. The good news is that the provided Xcode project is using an NSTextField and not a NSTextView. So, I got the code right, but I made a typo in my article.

    Nevertheless, I do thank you for pointing that out to me and I have just sent off an email to the editors at O'Reilly requesting a change in the text of the article if possible.

    Thanks for the help, its very much appreciated.