Re: NSString help!

2008-06-25 Thread Bill Bumgarner
On Jun 25, 2008, at 11:05 PM, Omar Qazi wrote: 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 I

Re: NSString help!

2008-06-25 Thread Omar Qazi
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

Re: NSString help!

2008-06-25 Thread Omar Qazi
On Jun 25, 2008, at 2:36 PM, Eric Lee wrote: I’m trying to get a string from one text field and then set the string in another text field. [anotherTextField setStringValue:[oneTextField string value]]; Or, if you want to be cool with Objective-C 2.0: anotherTextField.stringValue = oneTex

Re: NSString help!

2008-06-25 Thread Andy Lee
On Jun 25, 2008, at 5:36 PM, Eric Lee wrote: I’m trying to get a string from one text field and then set the string in another text field. Note that NSTextField inherits from NSControl. NSControl has methods - stringValue and -setStringValue:. --Andy

NSString help!

2008-06-25 Thread Eric Lee
I¹m trying to get a string from one text field and then set the string in another text field. How do you do this? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the mo