Re: self.myTextField.stringValue = @"" fails
Re: self.myTextField.stringValue = @"" fails
- Subject: Re: self.myTextField.stringValue = @"" fails
- From: Ben Kennedy <email@hidden>
- Date: Tue, 08 May 2012 10:16:02 -0700
On 08 May 2012, at 9:28 am, Charlie Dickman wrote:
>> Catchpoint 7 (exception thrown).2012-05-08 18:09:31.742 MyApp[18775:507] Invalid parameter not satisfying: aString != nil
>
> @"" is the nil string and the compiler is smart enough to make the substitution.
Certainly not true. @"" is a zero-length string. It is an NSString object. It has an address. It is most definitely not nil.
-b
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden