Re: Does textDidEndEditing lunches other class methods?
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.