• 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: Checking NSTextFields stringValue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking NSTextFields stringValue


  • Subject: Re: Checking NSTextFields stringValue
  • From: "Laurent Daudelin" <email@hidden>
  • Date: Wed, 29 Oct 2003 14:30:28 -0500

> From: "David Dauer" <email@hidden>
> Date: Wed, 29 Oct 2003 19:18:56 +0100
> To: Cocoa-Dev <email@hidden>
> Subject: Checking NSTextFields stringValue
>
> Hi
>
> I want to check if some NSTextFields are empty. When i do
> If ([myTF stringValue] == @"")
> {
> // do sth.. E.g. Alert
> }
> If ([myTF2 stringValue] == @"")
> {
> // do sth.. E.g. Alert
> }
>
> I can simply tab through the fields and the value isn't @"" so that this is
> useless :/
>
> Any idea?

Actually, [[myTF stringValue] length] == 0 ...

-Laurent.
--
===========================================================================
Laurent Daudelin Developer, Multifamily, ESO, Fannie Mae
mailto:email@hidden Washington, DC, USA
************************* Usual disclaimers apply *************************
_______________________________________________
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: 
 >Checking NSTextFields stringValue (From: David Dauer <email@hidden>)

  • Prev by Date: Re: Checking NSTextFields stringValue
  • Next by Date: Re: Things that go bmp in the night...
  • Previous by thread: Re: Checking NSTextFields stringValue
  • Next by thread: Re: Checking NSTextFields stringValue
  • Index(es):
    • Date
    • Thread