• 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: Ondra Cada <email@hidden>
  • Date: Sat, 16 Nov 2002 11:52:27 +0100

On Friday, November 15, 2002, at 10:02 , Lorenzo Puleo wrote:

[MyMainClass saveToDisk];
...
This is the code of the MainClass:
===================
- (void)saveToDisk

What is wrong?

Object oriented programming 101, classes and instances. You send the message to the _class_ whilst the appropriate method is an _instance_ one.
More details in ObjC.pdf.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: 
 >Does textDidEndEditing lunches other class methods? (From: Lorenzo Puleo <email@hidden>)

  • Prev by Date: Re: Finding build versions...
  • Next by Date: Re: sending an email with cocoa
  • Previous by thread: Does textDidEndEditing lunches other class methods?
  • Next by thread: Re: Does textDidEndEditing lunches other class methods?
  • Index(es):
    • Date
    • Thread