• 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
Method without receiver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Method without receiver


  • Subject: Method without receiver
  • From: Cyprien <email@hidden>
  • Date: Tue, 8 Jul 2003 11:35:38 +0200

I'm trying to make a little method which will check that every NSTextField of my interface isn't empty. I want it to be a method because I will use it often in other methods.

It return a variable of type int. But I don't know how to implement it.
An instance method requires a receiver. A class method doesn't work (selector not recognized). And a C fonction doesn't allow to do [aTextField stringValue] ...

What is the solution?

Cyprien
_______________________________________________
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.

  • Follow-Ups:
    • Re: Method without receiver
      • From: Brent Gulanowski <email@hidden>
  • Prev by Date: Re: 15Hz sine wave
  • Next by Date: Re: 15 Hz sine wave
  • Previous by thread: Re: NSMatrix question?
  • Next by thread: Re: Method without receiver
  • Index(es):
    • Date
    • Thread