• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Does textDidEndEditing lunches other class methods?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Does textDidEndEditing lunches other class methods? (From: Marco Binder <email@hidden>)

  • Prev by Date: C callback functions in Cocoa
  • Next by Date: Re: NSDictionary question
  • Previous by thread: Re: Does textDidEndEditing lunches other class methods?
  • Next by thread: sending an email with cocoa
  • Index(es):
    • Date
    • Thread