Re: Checking NSTextFields stringValue
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.