Re: Does textDidEndEditing lunches other class methods?
Re: Does textDidEndEditing lunches other class methods?
- Subject: Re: Does textDidEndEditing lunches other class methods?
- From: Marco Binder <email@hidden>
- Date: Sat, 16 Nov 2002 17:30:35 +0100
That should actually work even with objectvalue as long as it returns
an NSString. Sorry for not thinking before writing...
The problem actually is that you send saveToDisk to your CLASS
"MyMainClass" instead of an INSTANCE of this class (i.e.
"myMainClassObject" or so). Objects respond to messages, classes sont
(the respond to class-methods however, designated with a "+" in the
signature).
You might want to take another look at the Objective C language (see
your developer documentation) or some object oriented programming
concepts tutorial.
Have fun!
marco
Am Samstag, 16.11.02 um 13:37 Uhr schrieb Marco Binder:
[[myField objectValue] writeToFile:@"/txt" atomically:YES];
Use [myField stringValue]...
marco
--
|\ /| E-Mail: email@hidden WWW: www.marco-binder.de
| \/ | Telefon: 07531 / 94 19 94 Fax: 07531 / 94 19 92
| |ARCO Snail-Mail: Banater Str. 3 - 78467 Konstanz
BINDER _____________________________________________________
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
--
|\ /| E-Mail: email@hidden WWW: www.marco-binder.de
| \/ | Telefon: 07531 / 94 19 94 Fax: 07531 / 94 19 92
| |ARCO Snail-Mail: Banater Str. 3 - 78467 Konstanz
BINDER _____________________________________________________
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.