On Jun 25, 2008, at 10:44 PM, Eric Lee wrote:

Okay, I've done this:

[labelField setstringValue:[textField StringValue]];

However, when I build it, and I type something in and then press the button,
the string doesn't show up on the labelField IBOutlet.

How can I resolve this?


Ok, Cocoa is case sensitive. What this means is that stringValue is not the same thing as StringValue.

All methods in Cocoa follow the naming convention of starting lower case and having each word after that uppercase

likeThis:

So basically, stringValue: and setStringValue: are the methods you need to use.

Omar Qazi
Hello, Galaxy!
1.310.294.1593

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to